X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=4f416043335f7b5e4d8c6b647df0a1f623f8e77d;hb=54fea477f9b4efcab580dad81fa3ad2b661e3e8f;hp=17c47213b70970eb78deb57b7b77eeabf9894d26;hpb=86b1cfde8fc6366532e11b671477d195a744dd27;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 17c4721..4f41604 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 @@ -923,8 +922,8 @@ Enjoy your grml system with the zsh!$reset_color" salias ag="apt-get upgrade" #a3# Execute \kbd{apt-get update} salias au="apt-get update" - #a3# Execute \kbd{aptitude update ; aptitude upgrade} - salias -a up="aptitude update ; aptitude upgrade" + #a3# Execute \kbd{aptitude update ; aptitude safe-upgrade} + salias -a up="aptitude update ; aptitude safe-upgrade" #a3# Execute \kbd{dpkg-buildpackage} alias dbp='dpkg-buildpackage' #a3# Execute \kbd{grep-excuses} @@ -1153,7 +1152,7 @@ grmlstuff() { # people should use 'grml-x'! startx() { if [ -e /etc/X11/xorg.conf ] ; then - [ -x /usr/bin/startx ] && /usr/bin/startx || /usr/X11R6/bin/startx + [ -x /usr/bin/startx ] && /usr/bin/startx "$@" || /usr/X11R6/bin/startx "$@" else echo "Please use the script \"grml-x\" for starting the X Window System because there does not exist /etc/X11/xorg.conf yet. @@ -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