1
I've googled the heck out of this. The typical methods of adding the alias to ~/.bashrc or ~/.bash_profile just aren't working for me. Help please? Thanks!
Here's my current ~/.bash_profile
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
export PATH="$HOME/bin:${PATH}"
source ~/.bashrc
alias jm.mobi="ssh wz3chen@222.222.222.222"
# put this at the very end of your bash file
[[ -s "/usr/local/rvm/bin/rvm" ]] && . "/usr/local/rvm/bin/rvm" # This loads RVM into a shell session.
Also, when I source ~/.bashrc or ~/.bash_profile it logs me out of root, strange ...
http://stackoverflow.com/questions/2309103/line-doesnt-execute-in-bash-profile-and-bashrc-on-my-mac-osx-snow-leopard - The second comment in the last answer in the thread helped me figure out what's going on/what's being load and what not. – Waley Chen – 2011-10-16T06:13:55.327