diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-09-17 10:12:18 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-09-17 10:12:18 +0530 |
| commit | cbd5b66b89fba2ad23a9da7372cf916305efad1f (patch) | |
| tree | 0a5580244e3fe87b05c581681e558925d0635ad7 /zsh | |
| download | home-manager-config-cbd5b66b89fba2ad23a9da7372cf916305efad1f.tar.gz home-manager-config-cbd5b66b89fba2ad23a9da7372cf916305efad1f.zip | |
Initial commit.
Diffstat (limited to 'zsh')
| -rw-r--r-- | zsh/default.nix | 10 | ||||
| -rw-r--r-- | zsh/zshrc | 4 |
2 files changed, 14 insertions, 0 deletions
diff --git a/zsh/default.nix b/zsh/default.nix new file mode 100644 index 0000000..ba93024 --- /dev/null +++ b/zsh/default.nix @@ -0,0 +1,10 @@ +{ ... }: + +{ + programs.zsh = { + enable = true; + dotDir = ".config/zsh"; + history.path = "$HOME/.cache/zsh/history"; + initExtra = builtins.readFile ./zshrc; + }; +} diff --git a/zsh/zshrc b/zsh/zshrc new file mode 100644 index 0000000..dc0c250 --- /dev/null +++ b/zsh/zshrc @@ -0,0 +1,4 @@ +PROMPT='%F{red}%B┌[%b%F{green}%m%F{red}%B@%b%F{cyan}%n %F{blue}%~%F{red}%B] +%F{red}└>%b%f ' + +autoload -U colors && colors |
