-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathalias
63 lines (57 loc) · 1.69 KB
/
alias
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
if [ "x$ARCH" = "xDarwin" ]; then
# GNU rules.
alias rm='grm'
alias head='ghead'
alias tail='gtail'
alias sed='gsed'
alias awk='gawk'
alias retouch='sudo pkill TouchBarServer'
alias diablo='open "/Applications/Diablo III/Diablo III.app" --args -launch -OnlineService.Matchmaking.ServerPool=AU1'
alias mtr='sudo /usr/local/sbin/mtr'
alias typora='open -a Typora '
alias gcp='pbpaste | xargs git clone'
alias brewup='brew update && brew upgrade && brew cleanup'
else
alias gcp='xclip -selection clipboard -o | xargs git clone'
fi
alias grep='grep --color'
alias vi='nvim'
alias v='nvim'
alias K='kubectl'
# Generic
alias su='su -'
alias df='df -h'
alias diff='colordiff'
# Typos
alias clera='clear'
alias ls-l='ls -lhtl'
alias gti='git'
alias gerp='grep'
# Acesssibilities
alias py3='python3'
alias md='mkdir -p'
alias g='git'
alias which='type -p'
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias .....='cd ../../../..'
alias ......='cd ../../../../..'
alias rc='find . -name "*.pyc" -delete'
alias recd='cd `pwd`'
alias rt='rm -f *.torrent'
alias mr='M run'
alias mn='M clean'
alias mt='M test'
alias :q='exit'
alias ZZ='exit'
alias py='ptpython3 --config-file $HOME/.xiaket/etc/ptpython/config.py --history-file $HOME/.xiaket/etc/ptpython/history'
alias ga='git add'
alias act='source venv/bin/activate'
alias rerc='. ~/.bashrc; unset PIPENV_ACTIVE VIRTUAL_ENV PIP_PYTHON_PATH'
alias pipfix='pip install -U ptpython neovim black'
alias pcat='pygmentize -f terminal256 -O style=native -g'
alias randport='python -c "import random; print(random.randint(1025, 32768))"'
alias lvi='nvim --noplugin'
alias dssh='ssh-keygen -R'
alias ip='dig +short myip.opendns.com @resolver1.opendns.com'