-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.zshrc.aliases
33 lines (24 loc) · 1.18 KB
/
.zshrc.aliases
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Export
export PATH=~/bin:$PATH
export VISUAL=vim
export EDITOR="$VISUAL"
export PATH="$PATH:$HOME/.composer/vendor/bin"
# Navigation
alias code:home='cd ~/Developer/code'
alias code:android='cd ~/Developer/code/android'
alias code:chef='cd ~/Developer/code/chef'
alias code:ios='cd ~/Developer/code/ios'
alias code:php='cd ~/Developer/code/php'
alias code:vagrant='cd ~/Developer/code/vagrant'
alias code:vms='cd ~/Developer/vms'
# Commands
alias ls='ls -lh'
# Coding
alias phpunit='vendor/bin/phpunit'
alias behat='vendor/bin/behat'
alias phpcs='vendor/bin/phpcs'
alias ctags='`brew --prefix`/bin/ctags' # Use homebrew's CTags
alias tern:create='cp ~/.tern-project . && vim .tern-project'
alias gl="git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all"
alias gl2="git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all"
. ~/.zshrc.aliases.local