From: Michael Prokop Date: Wed, 18 Jul 2007 19:56:31 +0000 (+0200) Subject: /etc/zsh/zshrc: make sure we provide arguments for startx in the function as well X-Git-Tag: 0.3.17~2 X-Git-Url: https://git.grml.org/?p=grml-etc-core.git;a=commitdiff_plain;h=8249df82d369284ba879a604b714f05c38714d05 /etc/zsh/zshrc: make sure we provide arguments for startx in the function as well --- diff --git a/debian/changelog b/debian/changelog index 6e8942e..dd08266 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,6 +8,8 @@ grml-etc-core (0.3.17) unstable; urgency=low - added alias S for screen - alias s for ssh - added alias top10 to get the top 10 shell commands from the history + - make sure we provide arguments for startx in the function as well + (thanks for reporting the issue, Kevin Krammer!) * /etc/zsh/zshenv: - check for presence of lesspipe[.sh] before setting $LESSOPEN diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 17c4721..a31cb8a 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -1153,7 +1153,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.