Helpful Bash Aliases

01/08/2009

Just a few to post for right now, but this entry may grow later.

# change to the real directory if in a linked directory
alias rd='cd `pwd -P`'

# search for and open file in sublime
function s {
  FILE=$1; test -f $FILE || FILE=`find . -name $FILE`; sublime $FILE;
}
Be Sociable, Share!