startup script problem
I have the following in .xsession after going thro' the list help.
lvgandhi@lvgdell600m:~$ cat .xsession
#!/bin/bash --login
exec startkde
I have the following in /etc/profile
if [ "`id -u`" -eq 0 ]; then
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:~/bin"
else
PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:$HOME/bin"
fi
alias l="ls -alF --color=yes | more"
But I don't get $HOME/bin in my path for user.
lvgandhi@lvgdell600m:~$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games
but alias command in the same file works.
Somebody can throw some light on this.
--
L.V.Gandhi
http://lvgandhi.tripod.com/
linux user No.205042
Reply to: