Hi Wayne, On 8/10/07, Wayne Topa <[EMAIL PROTECTED]> wrote:
Are you doing all of this in KDE? If so I have no clue. I would > suggest you go to a console VT and enter the path statements I showed. > Then, if it doesn't work there, there is a real problem ... Yes, I was doing this in KDE. I start bash from an icon on my panel (it's run as /bin/bash --login). I tried what you suggested, switched to tty1 and logged in as manon. It said "Hello World..." to me, coming from the 'echo' line I previously added to .bash_profile. Same result in tty2. Well, there's definitely something wrong here, but it isn't really much of a problem no more, coz I put my scripts in ~/bin now, as Andrei suggested. And the problem seems to be related to starting a new bash session, not to a tty or opening a new bash window. However, obviously something is really messed up but I don't know where to look for a solution. The strange thing also is, when I put PATH=~/XX:"${PATH}" in .bashrc a every new session recognizes the new path although the order is somewhat different (for readability I replaced /home/manon with ~): first bash window: ~/bin:~/XX:/usr/local/bin:/usr/bin:/bin:/usr/games second session: ~/XX:/~/bin:/usr/local/bin:/usr/bin:/bin:/usr/games third session: ~/XX:/~/bin:/usr/local/bin:/usr/bin:/bin:/usr/games etc. second bash window: ~/bin:~/XX:/usr/local/bin:/usr/bin:/bin:/usr/games second session: ~/XX:/~/bin:/usr/local/bin:/usr/bin:/bin:/usr/games third session: ~/XX:/~/bin:/usr/local/bin:/usr/bin:/bin:/usr/games etc. In tty1 & tty2 I got: ~/bin:~/XX:/usr/local/bin:/usr/bin:/bin:/usr/games Every tty greets me with "Hello World..."; every new bash window does the same, but not a single new bash session says "Hello World..." to me. So the problem seems to be related to second (or higher) bash sessions. I thought it should inherit the path from its parent, but I'm not sure. Confusing, huh? Manon.