1
0

aliases.sh 651 B

123456789101112131415161718
  1. # ls
  2. alias l='ls -lFh' # size,show type,human readable
  3. alias la='ls -lAFh' # long list,show almost all,show type,human readable
  4. alias lr='ls -tRFh' # sorted by date,recursive,show type,human readable
  5. alias lt='ls -ltFh' # long list,sorted by date,show type,human readable
  6. alias ll='ls -l' # long list
  7. # http
  8. alias start-http='python -m SimpleHTTPServer'
  9. # osx-only aliases
  10. if [[ "$(uname -s)" = 'Darwin' ]]; then
  11. alias get-buffer="$HOME/dotfiles/bin/get-iterm2-buffer"
  12. alias chrome-tabs="$HOME/dotfiles/bin/chrome-tabs"
  13. fi
  14. # display docker statuses
  15. alias dockerps="docker ps --format 'table {{.Names}}\t{{.Image}}\t{{.Status}}'"