Permalink
Browse files

Added explicit PATH specification to xlshrc.

  • Loading branch information...
1 parent ee75002 commit a16e497067a73e19025f824e00fbe77e0273db57 @Nadrin committed Oct 14, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 etc/xlshrc
View
@@ -9,11 +9,12 @@ screen_h=$(xwininfo -root | grep Height | cut -f2 -d':')
px=$(($screen_w/2 - 240))
py=$(($screen_h/2 - 150))
+PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin
+export PATH
if ! which xlsh; then
xmessage -center 'xlsh cannot be found in PATH!'
exit 1
fi
-
xrdb -merge "$XRESFILE"
xsetroot -solid "$BGCOLOR"
exec $TERMINAL -g 80x24+$px+$py $(which xlsh)

0 comments on commit a16e497

Please sign in to comment.