mirror of
https://github.com/ThunixdotNet/tilde-launcher.git
synced 2026-01-24 05:10:18 +00:00
test if files exist in bin dir when using list
This commit is contained in:
2
tilde
2
tilde
@@ -183,11 +183,13 @@ case $1 in
|
||||
list | ls)
|
||||
echo -e "available scripts:\n"
|
||||
for scr in /tilde/bin/*; do
|
||||
if [ -f "$scr" ]; then
|
||||
script_name=$(basename $scr)
|
||||
target=$(readlink -f "$scr")
|
||||
echo "$script_name by "$(stat_func $target)
|
||||
cat /tilde/descriptions/$script_name
|
||||
echo ""
|
||||
fi
|
||||
done ;;
|
||||
|
||||
about | apropos | description)
|
||||
|
||||
Reference in New Issue
Block a user