aboutsummaryrefslogtreecommitdiff
path: root/user/home/zsh.nix
diff options
context:
space:
mode:
Diffstat (limited to 'user/home/zsh.nix')
-rw-r--r--user/home/zsh.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/user/home/zsh.nix b/user/home/zsh.nix
new file mode 100644
index 0000000..d264bd9
--- /dev/null
+++ b/user/home/zsh.nix
@@ -0,0 +1,16 @@
+{ config, ... }:
+{
+ programs.direnv.enable = true;
+ programs.zsh = {
+ enable = true;
+ autocd = true;
+ autosuggestion.enable = true;
+ defaultKeymap = "viins";
+ history.ignoreAllDups = true;
+ initContent = ''
+ PS1="%F{1}%n %5~ %F{8}%# %f"
+ '';
+
+ syntaxHighlighting.enable = true;
+ };
+}