diff options
| author | Rosa <rosaontheweb@proton.me> | 2026-01-10 17:59:55 -0500 |
|---|---|---|
| committer | Rosa <rosaontheweb@proton.me> | 2026-01-10 17:59:55 -0500 |
| commit | 5570be9c9c64e0ba2474d73c2b6b23508b916fd6 (patch) | |
| tree | 53e2f7939b668a50d8f51f857a8659989de85c2b /user/home/zsh.nix | |
| parent | 488bd4b5c08d6fe9c44b0fa5cd3750265c2be482 (diff) | |
custom function for system creation
Diffstat (limited to 'user/home/zsh.nix')
| -rw-r--r-- | user/home/zsh.nix | 16 |
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; + }; +} |
