Created
March 14, 2011 01:26
-
-
Save graybill/868633 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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