logo

dotfiles

My dotfiles, one branch per machine, rebased on base
commit: c4312a269e47e876719fcb4998113578e234c2d2
parent: 8111da174bf476197cca0f8ab5dee8b6a605fede
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon, 25 May 2020 10:38:56 +0200

.common.sh: git-sel alias

Diffstat:

M.common.sh1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/.common.sh b/.common.sh @@ -4,6 +4,7 @@ alias bc="bc ~/Sources/git/hacktivis.me/git/blog/notes/bc.txt" alias fuck='TF_ALIAS=fuck eval $(thefuck $(fc -ln -1))' alias fuu='su -c "$(fc -ln -1)"' alias git-st="git status --short --branch" +alias git-sel='git checkout $(git branch --format "%(refname:lstrip=2)" | dmenu -i -l 10)' alias git-story="git log --graph --abbrev-commit --decorate --format=format:'%C(cyan)%h%C(reset) %C(green)(%ad)%C(reset) %G?: %s %C(red)- %an %C(reset)%C(yellow)%d%C(reset)'" alias j='jobs -l' alias la='ls -ahF'