home/git: fzf -> skim, coreutils -> uutils

This commit is contained in:
2025-02-26 09:57:55 +01:00
parent 0bd882eb1a
commit ea12f16718
3 changed files with 4 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ if [ -n "${1:-}" ]; then
fi
BRANCHES=$(cat <(git branch) <(git branch --remotes) | grep --invert-match '^\*\|HEAD ->' | sed 's|^\s*||')
CHOSEN_BRANCH=$(fzf --reverse --info=inline --preview 'git show --color {}' <<<"$BRANCHES")
CHOSEN_BRANCH=$(sk --reverse --info=inline --preview 'git show --color {}' <<<"$BRANCHES")
CLEAN_BRANCH_NAME=$(sed 's|^\s*||' <<<"$CHOSEN_BRANCH")
for REMOTE in $(git remote); do