/etc/zsh/zshrc: make sure we provide arguments for startx in the function as well
authorMichael Prokop <mika@grml.org>
Wed, 18 Jul 2007 19:56:31 +0000 (21:56 +0200)
committerMichael Prokop <mika@grml.org>
Wed, 18 Jul 2007 19:56:31 +0000 (21:56 +0200)
debian/changelog
etc/zsh/zshrc

index 6e8942e..dd08266 100644 (file)
@@ -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
 
index 17c4721..a31cb8a 100644 (file)
@@ -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.