Skip to content

Instantly share code, notes, and snippets.

@graybill
Created March 14, 2011 01:26
Show Gist options
  • Save graybill/868633 to your computer and use it in GitHub Desktop.
Save graybill/868633 to your computer and use it in GitHub Desktop.
# My lazy aliases
alias desktop="cd ~/Desktop && ll"
alias bashrc="mate ~/.bash_profile"
alias restart="sudo shutdown -r now"
alias hosts="mate /etc/hosts"
alias code="cd ~/code"
#Rails aliases
alias ss="script/server"
alias sc="script/console"
#My lazy functions
ll ()
{
if [ $# -eq 0 ]; then
dir="."
else
dir="$1"
fi
ls -lah "$dir";
}
export PATH="${PATH}:/usr/local/bin:/usr/local/sbin:$PATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment