summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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
'';
};
}