Created
November 23, 2011 20:51
-
-
Save syranez/1389872 to your computer and use it in GitHub Desktop.
PATH problems :(
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2148][master][syranez@marathon:~/.wrapper]$ ls | |
README urxvt urxvt.sh | |
[2150][master][syranez@marathon:~/.wrapper]$ echo $PATH | |
/home/syranez/.wrapper:/sbin:/usr/sbin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3:/usr/games/bin | |
[2150][master][syranez@marathon:~/.wrapper]$ which urxvt | |
/home/syranez/.wrapper/urxvt | |
[2150][master][syranez@marathon:~/.wrapper]$ which urxvt.sh | |
/home/syranez/.wrapper/urxvt.sh | |
[2150][master][syranez@marathon:~/.wrapper]$ urxvt.sh | |
urxvtc | |
[2150][master][syranez@marathon:~/.wrapper]$ urxvt | |
[2150][master][syranez@marathon:~/.wrapper]$ # called /usr/bin/urxvt :( | |
# Solution: | |
#+ PATH was defined like PATH=~/.wrapper:$PATH | |
#+ THAT is wrong. It does not work. | |
#+ You have to use $HOME: PATH=$HOME/.wrapper:$PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment