- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Short answer: move it from .bash_profile to .bashrc !
In the original design of Unix shells, putting this kind of command in .bash_profile should have sufficed, but there are now so many ways to start shells that bypass the effects of .bash_profile (or its equivalent for other shell programs) that it is more practical to put things in the more ubiquitous .bashrc (or its equivalent for other shell programs).
-Kurt
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Short answer: move it from .bash_profile to .bashrc !
In the original design of Unix shells, putting this kind of command in .bash_profile should have sufficed, but there are now so many ways to start shells that bypass the effects of .bash_profile (or its equivalent for other shell programs) that it is more practical to put things in the more ubiquitous .bashrc (or its equivalent for other shell programs).
-Kurt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello!
Try putting it in your ~/.profile(it works for me).
Cheers!
Luca
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
![](/skins/images/D3C0B914909A6564BBB97F4AD1ED1973/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page