From 8249df82d369284ba879a604b714f05c38714d05 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 18 Jul 2007 21:56:31 +0200 Subject: [PATCH] /etc/zsh/zshrc: make sure we provide arguments for startx in the function as well --- debian/changelog | 2 ++ etc/zsh/zshrc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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. -- 2.1.4