Add helpful aliases

This commit is contained in:
Trevor Vallender 2023-06-01 10:02:08 +01:00
parent a4e5f98db5
commit 39833bda25
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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