forked from rtregaskis/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 3
/
aliases.sh
126 lines (114 loc) · 2.81 KB
/
aliases.sh
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# enable aliases to be sudo’ed
alias sudo='sudo '
# nav
alias ...='cd ../..'
alias ..='cd ..'
alias lb='cd ~/src/lamp/lamp-backend'
alias lf='cd ~/src/lamp/lamp-frontend'
alias dl="cd ~/Downloads"
alias dk="cd ~/Desktop"
# utilities
alias at='atom'
alias c='clear'
alias consolergx='echo '\''console.log(.*?);'\'' | pbcopy'
alias cyclewifi='networksetup -setairportpower en0 off; networksetup -setairportpower en0 on'
alias da='direnv allow'
alias df='df -h'
alias fuck='eval $(thefuck $(fc -ln -1)); history -r'
alias hman='man --html=browser-pause'
alias i='itermocil --here'
alias j="fasd_cd -d"
alias jj="fasd_cd -d -i"
alias la='ls -Alh'
alias ls='ls -AG1'
alias md='macdown'
alias mkdir='mkdir -pv'
alias o='open'
alias p='ping'
alias pg='pgcli'
alias ping='ping -n'
alias q='exit'
alias rsync='rsync -h'
alias sba='source ~/.bash_aliases'
alias sl='storm list'
alias t='htop'
alias top='htop'
alias whois='whois -H'
# dev
## bower
alias bi='bower install'
alias bis='bower install --save'
## brew
alias bo="brew update && brew outdated"
## ember
alias e='ember'
alias embp='ember build --environment=production'
alias emg='ember generate'
alias ems='ember server'
## eslint
alias el="eslint"
## forever
alias fl='forever list'
alias fsp='forever stop'
alias fst='forever start'
## git (sooo much git)
alias g='git'
alias ga='git add'
alias gaa='git add .'
alias gap='git add -p'
alias gau='git add -u'
alias gb='git branch'
alias gc='git commit'
alias gcae='git commit --amend --no-edit'
alias gcm='git commit -m'
alias gd='git diff'
alias gdb="git describe"
alias gfo='git fetch origin'
alias gg='git grep -n --color'
alias gk='git checkout'
alias gkb='git checkout -b'
alias gkd='git checkout development'
alias gkm='git checkout master'
alias gl='git lola'
alias glt='git describe --abbrev=0 --tags'
alias gmt='git mergetool'
alias gph='echo //////————— push it real good! ————///// && git push'
alias gpl='git pull'
alias gpt='git push && git push --tags'
alias grc='git rebase --continue'
alias grh='git reset HEAD'
alias grhh='git reset --hard HEAD'
alias gro='git rebase origin/master'
alias grod='git rebase origin/development'
alias gsh='git stash'
alias gsp='gsh pop'
alias gss='git status'
## grunt
alias gdp='grunt deploy'
alias gr='grunt'
alias grb='grunt build'
alias grr='grunt release'
alias grs='grunt serve'
alias grsd='grunt serve:dist'
## gulp
alias gu='gulp'
alias gur='gulp release'
alias gul='gulp lint'
alias gub='gulp build'
## jshint
alias jsa='jshint .'
## npm
alias ncu="npm-check -u"
alias ncug="npm-check -gu"
alias ni='npm install'
alias nibi='ni && bi'
alias nig="npm i -g"
alias nis='npm install --save'
alias nk='npm-check'
alias nr='npm run'
alias ns='npm start'
alias nu='npm uninstall'
alias nv='npm version'
alias nvmi='npm version minor'
alias nvmj='npm version major'
alias nvp='npm version patch'