diff options
| author | Rosa <rosaontheweb@proton.me> | 2026-01-18 16:00:37 -0500 |
|---|---|---|
| committer | Rosa <rosaontheweb@proton.me> | 2026-01-18 16:00:37 -0500 |
| commit | d8b9f3106942fe47635df682f79b7fb8051c8e8e (patch) | |
| tree | 6804e0122140869be77b5e06311e8c50cba2b73f /user/home/zsh/default.nix | |
| parent | 93855184693b464a8fead011e254ad4a95e0d61b (diff) | |
finally cursors
Diffstat (limited to 'user/home/zsh/default.nix')
| -rw-r--r-- | user/home/zsh/default.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/user/home/zsh/default.nix b/user/home/zsh/default.nix new file mode 100644 index 0000000..ffc8977 --- /dev/null +++ b/user/home/zsh/default.nix @@ -0,0 +1,17 @@ +{ config, ... }: +{ + programs.direnv.enable = true; + programs.zsh = { + enable = true; + autocd = true; + autosuggestion.enable = true; + defaultKeymap = "viins"; + history.ignoreAllDups = true; + initContent = '' + PS1="%F{1}%n %B%5~%b %F{8}%# %f" + ''; + + loginExtra = if (config.desktop.windowManager == "sway") then builtins.readFile ./zlogin.zsh else ""; + syntaxHighlighting.enable = true; + }; +} |
