Who's messing about with my bashrc?
A while ago I noticed that aliases defined in my .bashrc wer not working. I looked, and something had added the following line at the top:
Code:
export PS1=$PS1"\[\e]31;\w\a\]" Any idea who's doing this? |
If you're still using Slackware, and didn't install special
packages that would "take care of your needs" for you it must be yourself.... none of the packages that come with slack do this. Cheers, Tink |
Well, Googling on the line that was added, I found this link:
http://webcvs.kde.org/*checkout*/kde.../tips?rev=1.14 Near the bottom is this entry. <tip category="Konsole"> <html> <p>...that if you let your shell pass the current directory to Konsole within the prompt variable, e.g. for Bash with 'export PS1=$PS1"\[\e]31;\w\a\]"' in your ~/.bashrc, then Konsole can bookmark it, and session management will remember your current working directory on non-Linux systems too? </html> </tip> I'm not entirely sure, but it looks like Konsole is adding it. |
Read again ... if YOU set that Konsole can utilise it.
Cheers, Tink |
Quote:
Quote:
|
All times are GMT -5. The time now is 09:51 PM. |