summaryrefslogtreecommitdiffstats
path: root/zsh.nix
diff options
context:
space:
mode:
authorSkullheadx <andrew.montgomery@warpengine.ai>2026-06-29 12:10:41 -0400
committerSkullheadx <andrew.montgomery@warpengine.ai>2026-06-29 12:10:47 -0400
commit54657feb40b32fd8765636cac1285a8cae7670ea (patch)
treebf05fe4948460cbcaa3cb7cc01778c7bef80131c /zsh.nix
parentadd back some lsp (diff)
downloadnixos-54657feb40b32fd8765636cac1285a8cae7670ea.tar.gz
nixos-54657feb40b32fd8765636cac1285a8cae7670ea.tar.bz2
nixos-54657feb40b32fd8765636cac1285a8cae7670ea.zip
parity with bash for darwin zsh
Diffstat (limited to '')
-rw-r--r--zsh.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/zsh.nix b/zsh.nix
index 8559a56..d4ec73b 100644
--- a/zsh.nix
+++ b/zsh.nix
@@ -8,12 +8,21 @@
enableAutosuggestions = true;
enableBashCompletion = true;
enableCompletion = true;
+ enableGlobalCompInit = true;
enableFastSyntaxHighlighting = true;
enableFzfCompletion = true;
enableFzfGit = true;
enableFzfHistory = true;
+ histFile = "$HOME/.zsh_history";
+ histSize = 100000;
+ promptInit = ''
+ PROMPT=$'%{\e[97m%}[%{\e[m%}%{\e[92m%}%n%{\e[m%}%{\e[32m%}@%{\e[m%}%{\e[92m%}%m%{\e[m%}:%{\e[92m%}%~%{\e[m%}%{\e[97m%}]%{\e[m%}%{\e[97m%}%#%{\e[m%} '
+ '';
interactiveShellInit = ''
eval "$(direnv hook zsh)"
+
+ bindkey -v
+ export KEYTIMEOUT=1
'';
};
}