# helpful shortcut aliases
alias e='emacs'
alias emacs='emacs -nw'
alias h='history'
alias hgrep='history | grep'
alias cpr='rsync -r --stats --progress'

# os-specific aliases
case `uname` in
  Darwin)
    alias ls='ls -FG'
    alias flushdns='sudo killall -HUP mDNSResponder'
    ;;
  Linux)
    alias ls='ls -F --color'
    ;;
esac
# /os aliases

# helpful shortcut aliases
alias e='emacs'
alias emacs='emacs -nw'
alias h='history'
alias hgrep='history 1 | grep'
alias cpr='rsync -r --stats --progress'

# os-specific aliases
case `uname` in
  Darwin)
    alias ls='ls -FG'
    ;;
  Linux)
    alias ls='ls -F --color'
    ;;
esac
# /os aliases

--- 
+++ 
@@ -2,14 +2,13 @@
 alias e='emacs'
 alias emacs='emacs -nw'
 alias h='history'
-alias hgrep='history | grep'
+alias hgrep='history 1 | grep'
 alias cpr='rsync -r --stats --progress'
 
 # os-specific aliases
 case `uname` in
   Darwin)
     alias ls='ls -FG'
-    alias flushdns='sudo killall -HUP mDNSResponder'
     ;;
   Linux)
     alias ls='ls -F --color'
Add OS X Alias for clearing DNS cache
