aboutsummaryrefslogtreecommitdiff
path: root/.config/zsh
diff options
context:
space:
mode:
authorawy <awy@awy.one>2024-11-09 02:01:49 +0300
committerawy <awy@awy.one>2024-11-09 02:01:49 +0300
commit99dc137cc569a358bb1c798b8505524295ec5401 (patch)
treeac866b773420b7cb19d90ea3c00c271ad8c06c96 /.config/zsh
parent4df97b6833f93720733943f8e6a25a93776c344b (diff)
upload
Diffstat (limited to '.config/zsh')
-rw-r--r--.config/zsh/.zshrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index 417f268..6e66b3e 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -4,6 +4,8 @@ autoload -U colors && colors # Load colors
autoload -Uz vcs_info
precmd_vcs_info() { vcs_info }
precmd_functions+=( precmd_vcs_info )
+# neovim beam cursor fix
+function precmd { print -Pn "\e[ q" }
zstyle ':vcs_info:git:*' formats "[%b]%{$fg[yellow]%}%u"
zstyle ':vcs_info:*' check-for-changes true
zstyle ':vcs_info:*' unstagedstr '*'