diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-01-14 08:44:53 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-01-14 08:44:53 +0900 |
| commit | 623c78966d43615a1701bf6e6ed4147b4a98b5ce (patch) | |
| tree | 08f0e9872fee3a3d321fd4b8cb36952c045a97d5 /ar/.local/bin | |
| parent | 5f1627249aaf93108d0a7ee124587eb126f0f895 (diff) | |
Diffstat (limited to 'ar/.local/bin')
| -rwxr-xr-x | ar/.local/bin/fzffiles | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ar/.local/bin/fzffiles b/ar/.local/bin/fzffiles index 9f5cd90..64c7a6d 100755 --- a/ar/.local/bin/fzffiles +++ b/ar/.local/bin/fzffiles @@ -11,7 +11,7 @@ IFS=' files=$(fzf-tmux \ --header "^a pwd ^b public ^d .dotfiles ^f configs ^g git ^h home ^k desktop ^r scripts ^s suckless ^u staged files ^v private ^/ help" \ --preview "selection={}; - clean=\$(printf '%s' \"\$selection\" | sed -e 's/^📄 //' -e 's/^✏️ //' -e 's/^✅ //' -e 's/^❌ //' -e 's/^🔀 //' -e 's/^❓ //'); + clean=\$(printf '%s' \"\$selection\" | sed -e 's/^📄 //' -e 's/^✏ //' -e 's/^✅ //' -e 's/^❌ //' -e 's/^🔀 //' -e 's/^❓ //'); [ -z \"\$clean\" ] && { echo 'No selection'; exit 0; } target=\$(readlink -f \"\$clean\" 2>/dev/null || printf '%s' \"\$clean\"); if [ -z \"\$target\" ]; then @@ -65,7 +65,7 @@ files=$(fzf-tmux \ else if (staged == \"!\" && unstaged == \"!\") icon=\"❌\"; else if (staged != \" \" && staged != \"?\" && unstaged != \" \" && unstaged != \"?\") icon=\"🔀\"; else if (staged != \" \" && staged != \"?\") icon=\"✅\"; - else if (unstaged != \" \") icon=\"✏️\"; + else if (unstaged != \" \") icon=\"✏\"; else icon=\"❓\"; print icon \" \" root \"/\" file }'; else echo 'This is not a git repository.'; fi)" \ |
