refactor: use idiomatic home-manager options for git user and mise activation
This commit is contained in:
+2
-4
@@ -3,12 +3,10 @@
|
|||||||
{
|
{
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
userName = "imbytecat";
|
||||||
|
userEmail = "imbytecat@gmail.com";
|
||||||
signing.format = null;
|
signing.format = null;
|
||||||
settings = {
|
settings = {
|
||||||
user = {
|
|
||||||
name = "imbytecat";
|
|
||||||
email = "imbytecat@gmail.com";
|
|
||||||
};
|
|
||||||
merge.conflictstyle = "zdiff3";
|
merge.conflictstyle = "zdiff3";
|
||||||
pull.rebase = true;
|
pull.rebase = true;
|
||||||
push.autoSetupRemote = true;
|
push.autoSetupRemote = true;
|
||||||
|
|||||||
@@ -42,9 +42,6 @@ in
|
|||||||
# PATH
|
# PATH
|
||||||
fish_add_path $HOME/go/bin $HOME/.bun/bin
|
fish_add_path $HOME/go/bin $HOME/.bun/bin
|
||||||
|
|
||||||
# mise
|
|
||||||
mise activate fish | source
|
|
||||||
|
|
||||||
# Sudo: double Escape to prepend sudo
|
# Sudo: double Escape to prepend sudo
|
||||||
bind \e\e 'fish_commandline_prepend sudo'
|
bind \e\e 'fish_commandline_prepend sudo'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user