refactor: use idiomatic home-manager options for git user and mise activation

This commit is contained in:
2026-04-13 22:45:36 +08:00
parent 75340604f1
commit 2cd888e1cf
2 changed files with 2 additions and 7 deletions
+2 -4
View File
@@ -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;
-3
View File
@@ -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'