diff --git a/bin/git-interactive-push b/bin/git-interactive-push new file mode 100755 index 0000000..20ed485 --- /dev/null +++ b/bin/git-interactive-push @@ -0,0 +1,4 @@ +#!/bin/sh + +branch=$(git rev-parse --abbrev-ref HEAD) +git remote | fzf --layout=reverse --select-1 --preview="git remote show {}" --multi | xargs -I {} git push {} $branch diff --git a/shell/alias b/shell/alias index a003c76..f298031 100644 --- a/shell/alias +++ b/shell/alias @@ -21,7 +21,7 @@ alias tmux='tmux -2' alias w='watch -t -d -n 1' alias wmu='wake-me-up' alias tmfa='tmux-fzf' -alias gp='git push $(git remote | fzf --select-1 --preview='"'ls -l'"') $(git rev-parse --abbrev-ref HEAD)' +alias gp='git interactive-push' bat_theme() { if [ -e $HOME/.dark ]