Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions bashmount
Original file line number Diff line number Diff line change
Expand Up @@ -151,13 +151,14 @@ print_commands() {
printf '\n\n'
print_separator_commands
printf '%s' " ${BLUE}e${ALL_OFF}: eject"
printf '%s' " ${BLUE}i${ALL_OFF}: info"
printf '%s' " ${BLUE}m${ALL_OFF}: mount"
printf '%s' " ${BLUE}o${ALL_OFF}: open"
printf '%s' " ${BLUE}u${ALL_OFF}: unmount"
printf '%s' " ${BLUE}i${ALL_OFF}: info"
printf '%s' " ${BLUE}m${ALL_OFF}: mount"
printf '%s' " ${BLUE}o${ALL_OFF}: open"
printf '%s' " ${BLUE}u${ALL_OFF}: unmount"
printf '%s' " ${BLUE}[Enter]${ALL_OFF}: refresh"
printf '\n\n'
printf '%s' " ${BLUE}[Enter]${ALL_OFF}: refresh"
printf '%s' " ${BLUE}a${ALL_OFF}: unmount all"
printf '%s' " ${BLUE}t${ALL_OFF}: toggle internal"
printf '%s' " ${BLUE}a${ALL_OFF}: unmount all"
printf '%s' " ${BLUE}q${ALL_OFF}: quit"
printf '%s' " ${BLUE}?${ALL_OFF}: help"
printf '\n\n'
Expand Down Expand Up @@ -819,6 +820,7 @@ select_action() {
fi
else
case "$action" in
"t") show_internal=$(( ! show_internal )) ;;
"a")
if (( ! ${#mounted[*]} )); then
error "No devices mounted."
Expand Down