aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shell/zsh/zshrc
diff options
context:
space:
mode:
authorArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2024-09-30 22:31:37 +0530
committerArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2024-09-30 22:31:37 +0530
commit5f8027fef5ab482be9275aa310ac22dd1d414159 (patch)
treeb0e8712d770e615d1222ebb6b3d3aeb566fe7fb0 /modules/shell/zsh/zshrc
parentb89e5d998891feb55b14220e129c6ee69c98cacb (diff)
downloadhome-manager-config-5f8027fef5ab482be9275aa310ac22dd1d414159.tar.gz
home-manager-config-5f8027fef5ab482be9275aa310ac22dd1d414159.zip
Changed the zsh prompt and forcing neovim to use tabs instead of spaces for all files.
Diffstat (limited to 'modules/shell/zsh/zshrc')
-rw-r--r--modules/shell/zsh/zshrc15
1 files changed, 8 insertions, 7 deletions
diff --git a/modules/shell/zsh/zshrc b/modules/shell/zsh/zshrc
index 528bf68..b1872c8 100644
--- a/modules/shell/zsh/zshrc
+++ b/modules/shell/zsh/zshrc
@@ -5,15 +5,16 @@ 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:git:*' formats '%F{red}┄[%F{cyan}%b%c%F{blue}%a%F{red}]'
+zstyle ':vcs_info:git:*' actionformats '%F{red}┄[%F{cyan}%b%c%F{blue}%a%F{red}]'
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}
+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{red}]${vcs_info_msg_0_}%(?..%F{red}┄[%F{white}Exit status: %F{yellow}%?%F{red}] )
╰─>%f '