X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=0d85b3eab438d99a9738ff0146feb40080031e3b;hb=93f0998afe7d4df6b29977e235c23eccddca7caa;hp=a31cb8ad8444be90e0328dd307c47eceb8e284cf;hpb=d4dce4f5cc5485d992ba06e83846b1a854fb7667;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index a31cb8a..0d85b3e 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -235,7 +235,6 @@ export MAIL=${MAIL:-/var/mail/$USER} # if we don't set $SHELL then aterm, rxvt,.. will use /bin/sh or /bin/bash :-/ export SHELL='/bin/zsh' - [[ -f ~/.terminfo/m/mostlike ]] && MYLESS='LESS=C TERMINFO=~/.terminfo TERM=mostlike less' || MYLESS='less' [ -x $(which dircolors) ] && eval `dircolors -b` # Search path for the cd command @@ -1255,6 +1254,7 @@ If you want to use xinit anyway please call \"/usr/bin/xinit\"." else manzsh() { /usr/bin/man zshall | vim -c "se ft=man| se hlsearch" +/"$1" - ; } # manzsh() { /usr/bin/man zshall | most +/"$1" ; } + # [[ -f ~/.terminfo/m/mostlike ]] && MYLESS='LESS=C TERMINFO=~/.terminfo TERM=mostlike less' || MYLESS='less' # manzsh() { man zshall | $MYLESS -p $1 ; } fi