config/shell/functions/umoul: offer mnt and media
This commit is contained in:
parent
0878e51e6a
commit
f5d8c4094c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue