This commit is contained in:
2026-01-09 01:41:57 +08:00
parent c1d1b12a26
commit edb0343046
7 changed files with 232 additions and 8 deletions
+2 -2
View File
@@ -41,7 +41,7 @@
path = "${config.home.homeDirectory}/.zsh_history";
};
initExtra = ''
initContent = ''
# Custom prompt or additional configuration
setopt HIST_IGNORE_ALL_DUPS
setopt HIST_FIND_NO_DUPS
@@ -102,7 +102,7 @@
enableZshIntegration = true;
enableFishIntegration = true;
git = true;
icons = true;
icons = "auto";
};
# Bat (better cat)
+1 -4
View File
@@ -102,10 +102,7 @@
ctrl + lalt - b : yabai -m config window_border off
shift + ctrl + lalt - b : yabai -m config window_border on
## Misc
# Open new Alacritty window
cmd - return : kitty
cmd - o : yabai -m window $(yabai -m query --windows | jq '.[] | select(.app==".kitty-wrapped") | .id') --space $(yabai -m query --spaces | jq '.[] | select(.has-focus==1) .id')
lalt - return : kitty
'';
}
+1 -1
View File
@@ -33,7 +33,7 @@
# Zsh configuration for macOS
programs.zsh = lib.mkIf config.programs.zsh.enable {
initExtra = ''
initContent = ''
# Add Homebrew to PATH if it exists
if [[ -d /opt/homebrew/bin ]]; then
eval "$(/opt/homebrew/bin/brew shellenv)"