Add helpful aliases
This commit is contained in:
parent
a4e5f98db5
commit
39833bda25
|
@ -27,6 +27,7 @@ alias dockerkill="docker stop `docker ps -a -q`"
|
||||||
alias vi="nvim"
|
alias vi="nvim"
|
||||||
alias tp="$HOME/bin/tmux_pair.bash"
|
alias tp="$HOME/bin/tmux_pair.bash"
|
||||||
alias tpdf="termpdf.py"
|
alias tpdf="termpdf.py"
|
||||||
|
alias tn="tmux new-window -n"
|
||||||
|
|
||||||
# Prompt setup
|
# Prompt setup
|
||||||
GIT_PS1_SHOWDIRTYSTATE=1
|
GIT_PS1_SHOWDIRTYSTATE=1
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
co = checkout
|
co = checkout
|
||||||
cm = commit
|
cm = commit
|
||||||
cma = commit --amend
|
cma = commit --amend
|
||||||
|
g = log --all --grep # Search commit messages
|
||||||
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
|
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
|
||||||
last = log -1 HEAD
|
last = log -1 HEAD
|
||||||
pf = push --force
|
pf = push --force
|
||||||
|
|
Loading…
Reference in New Issue