config/shell/functions/umoul: offer mnt and media

This commit is contained in:
xeruf 2022-10-15 13:06:50 +02:00
parent 0878e51e6a
commit f5d8c4094c
1 changed files with 1 additions and 1 deletions

View File

@ -545,7 +545,7 @@ umoul() {
done done
test "$(dirname "$mountpoint")" != "/" || test "$(dirname "$mountpoint")" != "/" ||
mountpoint="$(mount | mountpoint="$(mount |
grep --invert-match -e " /[^/]*\(/[^/]*\)\? " -e "/sys" -e "/run/user" -e "/run/docker" | grep --invert-match -e " /[^m][^/]*\(/[^/]*\)\? " -e "/sys" -e "/run/user" -e "/run/docker" |
fzf --select-1 --exit-0 | awk '{print $3}')" || fzf --select-1 --exit-0 | awk '{print $3}')" ||
return $? return $?
fi fi