-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaliases
31 lines (24 loc) · 894 Bytes
/
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
# navigation
alias ll="ls -al"
# misc
alias fix-camera="sudo killall VDCAssistant"
alias flush-dns="sudo killall -HUP mDNSResponder; sudo killall mDNSResponderHelper; sudo dscacheutil -flushcache"
# Ruby - basic conveniences
alias brake="bundle exec rake"
alias rails="bundle exec rails"
alias rspec="bundle exec rspec"
# Ruby - helpers
alias rsnf="bundle exec rspec --pattern 'spec/**/*_spec.rb' --exclude-pattern 'spec/features/**/*_spec.rb'"
# git
alias gpfl="git push --force-with-lease" # alternative to oh-my-zsh ggfl
alias gpr="git pull --rebase --autostash" # alternative to oh-my-zsh gupa
alias gfp="git fetch --prune" # alternaitve to oh-my-zsh gfa
# unix
# alias ln="ln -v"
# alias mkdir="mkdir -p"
# alias e="$EDITOR"
# alias v="$VISUAL"
# Pretty print the path
alias path='echo $PATH | tr -s ":" "\n"'
alias tmux="tmux -2"
alias gangway="~/Projects/buoy/Gangway/gangway.py"