diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-09-24 23:13:51 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-09-24 23:13:51 +0530 |
| commit | c0c5087218c27e31c3e6f66f3937bff22fa0f647 (patch) | |
| tree | dede2292db1423cef901932a7898ec951c9d2345 /zsh | |
| parent | 21265ba643f1c12ad40e5195de8a3a97682adbde (diff) | |
| download | home-manager-config-c0c5087218c27e31c3e6f66f3937bff22fa0f647.tar.gz home-manager-config-c0c5087218c27e31c3e6f66f3937bff22fa0f647.zip | |
Using nix flake modules to manage the configurations.
Diffstat (limited to 'zsh')
| -rw-r--r-- | zsh/default.nix | 9 | ||||
| -rw-r--r-- | zsh/zshrc | 19 |
2 files changed, 0 insertions, 28 deletions
diff --git a/zsh/default.nix b/zsh/default.nix deleted file mode 100644 index 1951933..0000000 --- a/zsh/default.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ config, ... }: - -{ - programs.zsh.enable = true; - programs.zsh.dotDir = ".config/zsh"; - programs.zsh.history.path = "${config.xdg.cacheHome}/zsh/history"; - programs.zsh.initExtra = builtins.readFile ./zshrc; - programs.zsh.shellAliases = config.programs.bash.shellAliases; -} diff --git a/zsh/zshrc b/zsh/zshrc deleted file mode 100644 index 528bf68..0000000 --- a/zsh/zshrc +++ /dev/null @@ -1,19 +0,0 @@ -setopt PROMPT_SUBST - -autoload -U colors && colors - -autoload -Uz vcs_info -precmd() { vcs_info } - -zstyle ':vcs_info:git:*' formats ' %F{yellow}[%F{cyan}%b %c%F{blue}%a%F{yellow}]' -zstyle ':vcs_info:git:*' actionformats ' %F{yellow}[%F{cyan}%b %c%F{blue}%a%F{yellow}]' - -zstyle ':vcs_info:*+set-message:*' hooks git-untracked git-dirty - -zstyle ':vcs_info:git:*' check-for-changes true -zstyle ':vcs_info:git:*' stagedstr '%F{green}✓%f' -zstyle ':vcs_info:git:*' unstagedstr '%F{red}✗%f' -zstyle ':vcs_info:git:*' aheadstr '%F{blue}⬆%f' -zstyle ':vcs_info:git:*' behindstr '%F{yellow}⬇%f' -PROMPT='%F{red}╭──[%F{green}%m%F{red}@%F{blue}%n%F{red}] %F{magenta}%~%f${vcs_info_msg_0_}%F{red} -╰─>%f ' |
