remove back option if searching from /

This commit is contained in:
ksyasuda 2022-02-01 11:36:10 -08:00
parent 4fb1c113b9
commit d4304a6e36

View File

@ -361,7 +361,7 @@ get_directory_data() {
elif [[ -z "$inputlist" && "$search_dir" != / ]]; then
inputlist="../|Back|Quit"
elif [[ "$search_dir" = / ]]; then
inputlist="$inputlist|Back|Quit"
inputlist="$inputlist|Quit"
else
inputlist="Quit"
fi