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 elif [[ -z "$inputlist" && "$search_dir" != / ]]; then
inputlist="../|Back|Quit" inputlist="../|Back|Quit"
elif [[ "$search_dir" = / ]]; then elif [[ "$search_dir" = / ]]; then
inputlist="$inputlist|Back|Quit" inputlist="$inputlist|Quit"
else else
inputlist="Quit" inputlist="Quit"
fi fi