/etc/zsh/zshrc: make sure we provide arguments for startx in the function as well
[grml-etc-core.git] / etc / zsh / zshrc
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.