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 | c3bf8eb9451d15183c66405f9ce778116e83b34a (patch) | |
| tree | f55ca16a5e270955a4b959fb0a732948334413f8 /ar/.local/bin/fzffiles | |
| parent | 5bcc5adb64972016d1a94f1b1606f4b97872e1a3 (diff) | |
modified plugins/snippets.lua, modified snippets/diary.lua, modified bin/fzffiles
Diffstat (limited to 'ar/.local/bin/fzffiles')
| -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)" \ |
