Skip to content

Commit

Permalink
link not resolved as file
Browse files Browse the repository at this point in the history
  • Loading branch information
joknarf committed Feb 2, 2024
1 parent d04e6f4 commit ec7248e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selector
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function _showmenu
[ "$_sel_option" = filenames ] && {
[[ "$item" = \~/* ]] && path="$HOME/"${item#\~/} || path="$item"
if [ -d "$path" ] ;then icon="$SELECTOR_FOLDER_ICON "
else [ -e "$path" ] && icon="$SELECTOR_FILE_ICON ";fi
else [ -e "$path" -o -L "$path" ] && icon="$SELECTOR_FILE_ICON ";fi
}
if [[ $nsel == "$i" ]]; then
printf "$sel" $i "$icon$item"
Expand Down

0 comments on commit ec7248e

Please sign in to comment.