]> Sergey Matveev's repositories - dotfiles.git/commitdiff
Even more bold prompt
authorSergey Matveev <stargrave@stargrave.org>
Thu, 11 Jun 2020 10:54:03 +0000 (13:54 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Thu, 11 Jun 2020 10:54:03 +0000 (13:54 +0300)
zsh/.zshrc

index 0756acccf4c46ebd56138eff6ad1fa52018fcd75..49c03af9319b4a48944b932b5a00e43e2521e88f 100644 (file)
@@ -47,7 +47,7 @@ function zle-line-init zle-keymap-select {
     prompt+="%U${timer_show}%u|"
     prompt+="%B%?%b"
     prompt+="${mode_vi}"
-    prompt+="%F{magenta}%#%f "
+    prompt+="%B%F{magenta}%#%f%b "
     PS1="$prompt"
     zle reset-prompt
 }
@@ -71,6 +71,7 @@ alias vi="vim"
 alias more="less"
 alias m="less "
 alias -g M="| less"
+alias -g W="| wc -l"
 alias mc="mc --nomouse"
 bindkey -s "\eOS" " popd\n" # F4
 
@@ -93,7 +94,6 @@ alias Gd="git diff"
 alias Gs="git show"
 alias Gm="git diff --name-only --diff-filter=M"
 alias Gam="git commit --amend"
-alias -g W="| wc -l"
 
 git_common="--oneline --abbrev-commit"
 alias Gl="git log $git_common --graph --decorate=short"