Unable to create a permanent alias in Mac OS
- by Alex
In Linux I can well to add alias to bashrc and it will become a permanent alias. In Mac OS I tried to do the same thing:
vim ~/.bashrc
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH f or scripting
alias prj="cd ~/Documents/projects"
### Added by the Heroku Toolbelt
export PATH="/usr/local/heroku/bin:$PATH"
That being said, I got this:
$ alias
alias rvm-restart='rvm_reload_flag=1 source '\''/Users/alex/.rvm/scripts/rvm'\'''
So where is my prj alias? I rebooted the laptop but nothing has changed.