aboutsummaryrefslogtreecommitdiff
path: root/user/zsh.nix
diff options
context:
space:
mode:
authorRosa <rosaontheweb@proton.me>2025-12-20 15:31:54 -0500
committerRosa <rosaontheweb@proton.me>2025-12-20 15:31:54 -0500
commitd76111cd0de07c821844be4583ffb81eb2d59bf7 (patch)
tree91a1fc2e7e3acb8336a85aed9abc242307a4fc35 /user/zsh.nix
parentca9e1f1fb8126b34ca95fca78965c1d782a30102 (diff)
foot, editor
Diffstat (limited to 'user/zsh.nix')
-rw-r--r--user/zsh.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/user/zsh.nix b/user/zsh.nix
new file mode 100644
index 0000000..730f0e7
--- /dev/null
+++ b/user/zsh.nix
@@ -0,0 +1,15 @@
+{ config, ... }:
+{
+ 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;
+ };
+}