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
}
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
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"
zstyle ":completion:*:functions" ignored-patterns "_*"
zstyle ":completion:*" matcher-list "" 'm:{a-z\-}={A-Z\_}' 'r:|?=** m:{a-z\-}={A-Z\_}'
_mycomp () {
- [ $CURRENT -eq 1 ] && _command_names || _files && return 0
+ [ "$words[1]" != "man" ] || { _man && return 0 }
+ [ $CURRENT -eq 1 ] && _command_names || _files && return 0
# MAGIC_EQUAL_SUBST {{{
[[ "$PREFIX" = *\=* ]] || return 1
compstate[parameter]="${PREFIX%%\=*}"