-
Notifications
You must be signed in to change notification settings - Fork 0
/
.aliases
57 lines (48 loc) · 1.48 KB
/
.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
alias ll='exa -lh'
alias l='ll'
alias la='exa -lah'
alias tmux='tmux -2'
# TODO make cross-platform
alias nnn='nautilus . --no-desktop'
# Ubuntu
alias install='sudo apt install -y'
alias update='sudo apt update'
alias upgrade='sudo apt upgrade'
alias remove='sudo apt remove'
# Python
alias py3='python3'
alias ipy3='ipython3'
alias pyserver='py3 -m SimpleHTTPServer'
# Erlang
alias r3='rebar3'
# Vim
alias vi='nvim'
alias nv='nvim'
alias vimrc='vi ~/.vimrc'
# Emacs
alias e='emacsclient'
alias et='emacsclient -t'
alias ec='emacsclient -nc'
# Git
alias g='git'
alias gp='git push'
alias gl='git pull'
alias gf='git fetch'
alias gs='git status'
alias gd='git diff'
alias ga='git add'
alias gc='git commit -v'
alias gca='git commit -v -a'
alias gco='git checkout'
alias gdd='git diff'
alias gcp='git cherry-pick'
alias gcl='git clone --recursive'
alias grb='git rebase'
alias grbmh='git rebase -i $(git merge-base HEAD origin/master)'
# greps
alias grep='grep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn} --exclude=tags -I'
alias egrep='egrep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn} --exclude=tags -I'
alias fgrep='fgrep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn} --exclude=tags -I'
alias rgrep='rgrep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn} --exclude=tags -I -n'
alias grepc='grep --color=always --exclude-dir={.bzr,CVS,.git,.hg,.svn} --exclude=tags -I'
alias rgrepc='rgrep --color=always --exclude-dir={.bzr,CVS,.git,.hg,.svn} --exclude=tags -I -n'