Tag Info

New answers tagged

1

This answer neatly summarises what ideally belongs in each of ~/.bashrc, ~/.profile, and ~/.bash_profile. In summary: ~/.bash_profile should be super-simple and just load .profile and .bashrc (in that order) ~/.profile has the stuff NOT specifically related to bash, such as environment variables (PATH and friends) ~/.bashrc has anything you'd want at an ...


1

The short answer is: (generally) Add it to ~/.bash_profile echo 'alias ep="cd $HOME/Dropbox/CurrentProject"' >> ~/.bash_profile NOTE: There shouldn't be any space between the alias/variable and the equals sign ("=") and the value. If your value has spaces then the whole value should be put in quotes. A better answer is: (probably) Try setting an ...



Top 50 recent answers are included