mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 10:14:52 +00:00
XQuartz: Changed X11.sh to allow use of a ~/.x11run as requested by users of alternate shells
(cherry picked from commit b62ed1f8eaf041a946bb591165bb18ee481dedbf)
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
#!/bin/bash --login
|
||||
|
||||
"$(dirname $0)"/X11.bin "${@}"
|
||||
if [ -x ~/.x11run ]; then
|
||||
exec ~/.x11run "$(dirname $0)"/X11.bin "${@}"
|
||||
else
|
||||
exec "$(dirname $0)"/X11.bin "${@}"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user