X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=d07e9b025eef66f2463695fc97ae9b917fccc42b;hb=a5d4d9967bd7b0e8065becfed24e4b4abd3c88c8;hp=b7b2caf99260accad97e66955ae24afbc97a6c06;hpb=fe25fa0be72344bacd156cf0da78784d3aadcf4a;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index b7b2caf..d07e9b0 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -1897,15 +1897,6 @@ sll() { done } -# fast manual access -if check_com qma ; then - #f1# View the zsh manual - manzsh() { qma zshall "$1" } - compdef _man qma -else - manzsh() { /usr/bin/man zshall | vim -c "se ft=man| se hlsearch" +/"$1" - ; } -fi - # TODO: Is it supported to use pager settings like this? # PAGER='less -Mr' - If so, the use of $PAGER here needs fixing # with respect to wordsplitting. (ie. ${=PAGER}) @@ -2188,8 +2179,6 @@ help-zle() #k# display help for keybindings and ZLE (cycle pages with consecutive use) zle -N help-zle && bindkey '^Xz' help-zle -check_com -c qma && alias ?='qma zshall' - # grep for running process, like: 'any vim' any() { emulate -L zsh