-
Notifications
You must be signed in to change notification settings - Fork 61
/
.bash_profile
41 lines (32 loc) · 894 Bytes
/
.bash_profile
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
alias bashalias='code ~/.bash_profile'
alias bashcolor='code ~/.minttyrc'
alias bashconfig='code /etc/profile.d/git-prompt.sh'
alias gitconfig='code ~/.gitconfig'
alias ,='cd -'
alias .='cd ~'
alias ..='cd ..'
alias ...='cd ../..'
alias e='exit'
alias cls='clear'
alias ga='git add .'
alias gc='git commit -m'
alias gp='git push'
alias gs='git status'
alias gl='git pull'
alias gb='git branch'
alias gch='git checkout'
alias gm='git merge'
alias power='powercfg -list'
alias sysoff='shutdown -s -t 0'
alias sysre='shutdown -r -t 0'
alias host='code /c/Windows/System32/drivers/etc/hosts'
alias ep='start . && exit'
alias c='code . && exit'
alias utf8='sed -i 's/GBK/UTF-8/' ~/.minttyrc'
alias gbk='sed -i 's/UTF-8/GBK/' ~/.minttyrc'
alias tree1='tree -L 1'
alias tree2='tree -L 2'
alias tn='tmux new -s m'
alias ta='tmux a'
alias mwsl='winpty wsl'
alias mysql='winpty mysql -uroot -p'