From 25b3a169a20a45fd1e901364a85da231c3c3c498 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Thu, 11 Sep 2025 01:47:32 +0200 Subject: [PATCH] fzf: Improve border label --- git/dot-local/bin/git-fixup | 2 +- zsh/dot-zshrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/git/dot-local/bin/git-fixup b/git/dot-local/bin/git-fixup index 5de88fc..a912215 100755 --- a/git/dot-local/bin/git-fixup +++ b/git/dot-local/bin/git-fixup @@ -4,7 +4,7 @@ TARGET=$1 if [ -z "$TARGET" ]; then if hash fzf 2>/dev/null; then - TARGET=$(git log -n 50 --pretty=format:'%h %s' --no-merges | fzf --border-label='Select commit' | cut -c -7 ) + TARGET=$(git log -n 50 --pretty=format:'%h %s' --no-merges | fzf --border-label=' Select commit ' | cut -c -7 ) else echo "Not installed: fzf" exit -1 diff --git a/zsh/dot-zshrc b/zsh/dot-zshrc index 6123720..5fb6ccd 100644 --- a/zsh/dot-zshrc +++ b/zsh/dot-zshrc @@ -119,7 +119,7 @@ if (( $+commands[fzf] )); then if (( $+commands[paru] )); then function pi { - paru -Slq | fzf -q "$1" --border-label="Packages" --multi --preview 'paru -Si {1} --color=always' | xargs -ro paru -S + paru -Slq | fzf -q "$1" --border-label=" Install package " --multi --preview 'paru -Si {1} --color=always' | xargs -ro paru -S } fi fi