helm/zsh/aliases

40 lines
775 B
Plaintext
Raw Normal View History

2013-03-07 00:58:05 -08:00
#!/bin/bash
2013-03-16 10:31:51 -07:00
#############
# Aliases #
#############
2013-03-03 05:49:37 -08:00
alias ll='ls -l'
alias la='ls -la'
2013-03-16 10:31:51 -07:00
# Directories ##################
2013-03-03 05:49:37 -08:00
alias dev='cd /usr/local/dev'
alias w='cd ~/Work/'
2013-03-06 01:29:03 -08:00
alias wd='cd ~/Work/Dev/'
2013-03-03 05:49:37 -08:00
alias wp='cd ~/Work/Projects/'
2013-03-16 10:31:51 -07:00
# Vim ##########################
2013-03-03 05:49:37 -08:00
alias v='mvim'
2013-03-16 10:31:51 -07:00
# Git ##########################
# I know the git oh-my-zsh plugin has most of these, but
# I prefer to specify my own
2013-03-03 05:49:37 -08:00
alias g='git'
alias ga='g a'
alias gap='g a -p'
alias gc='g c'
alias gs='g s'
alias gd='g d'
2013-03-04 02:37:45 -08:00
alias gr='g r'
alias gbr='g br'
2013-03-03 05:49:37 -08:00
2013-03-16 10:31:51 -07:00
# Laravel ######################
# (already provided in zsh plugin)
#alias artisan='php artisan'
#alias bob='php artisan bob::build'
2013-03-03 05:49:37 -08:00
2013-03-16 10:31:51 -07:00
# Open a file in Mac OS's quick-look
2013-03-03 05:49:37 -08:00
function quick-look() {
2013-03-13 04:24:13 -07:00
(( $# > 0 )) && qlmanage -p $* &>/dev/null &
2013-03-03 05:49:37 -08:00
}