-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bash_aliases
68 lines (62 loc) · 1.39 KB
/
.bash_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
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
# alias
alias eb="vi ~/.bashrc"
alias ebp="vi ~/.bash_profile"
alias vimrc="vi ~/.vimrc"
alias re="source ~/.bash_profile"
alias ll="ls -ltG"
alias lla="ls -altG"
alias vi="vim -p"
alias grep='grep --color'
alias grepr='grep -r'
alias grepri='grep -ri'
alias wcl='wc -l'
# chdir
alias cd-="cd -"
alias ..="cd ..;pwd;ll"
alias ...="cd ../../;pwd;ll"
alias downloads="cd ~/Downloads;pwd;ll"
alias develop="cd ~/develop;pwd;ll"
# git
alias g='git'
alias gl='git log'
alias glo='git log --oneline'
alias ga='git add'
alias gd='git diff'
alias gdn='git diff --name-only'
alias gdc='git diff --cached'
alias gs='git status'
alias gp='git push'
alias gpl='git pull'
alias gb='git branch'
alias gba='git branch -a'
alias gst='git status'
alias gco='git checkout'
alias gcot='git checkout -t'
alias gcob='git checkout -b'
alias gco-='git checkout -'
alias gf='git fetch'
alias gfa='git fetch -a'
alias gc='git commit'
alias gci='git commit -m'
alias gr='git rebase'
alias grabort='git rebase --abort'
alias grcontinue='git rebase --continue'
alias grskip='git rebase --skip'
alias greset='git reset'
alias gstash='git stash'
alias gstashu='git stash -u'
alias vstat='vagrant status'
alias vup='vagrant up'
alias vhalt='vagrant halt'
alias vssh='vagrant ssh'
alias artisan='php artisan'
#typo
alias v='vi'
alias vvi='vi'
alias bi='vi'
alias vbi='vi'
alias bvi='vi'
alias vr='vi -R'
# ni
alias nrt='nr test'
alias nrs='nr serve'