summaryrefslogtreecommitdiff
path: root/ar/.local/bin/fzffiles
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-01-14 08:44:53 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-01-14 08:44:53 +0900
commit623c78966d43615a1701bf6e6ed4147b4a98b5ce (patch)
tree08f0e9872fee3a3d321fd4b8cb36952c045a97d5 /ar/.local/bin/fzffiles
parent5f1627249aaf93108d0a7ee124587eb126f0f895 (diff)
modified plugins/snippets.lua, modified snippets/diary.lua, modified bin/fzffilesHEADmaster
Diffstat (limited to 'ar/.local/bin/fzffiles')
-rwxr-xr-xar/.local/bin/fzffiles4
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)" \