The following commit has been merged in the master branch:
commit 6328b108a2b48e93b7e5f58016124a6b5c878a57
Author: Ville Skyttä <[email protected]>
Date: Tue Jan 26 23:17:48 2010 +0200
Fix NFS completion if path to showmount contains spaces (Alioth: #312285).
diff --git a/contrib/mount b/contrib/mount
index f9fafb1..d8ba81b 100644
--- a/contrib/mount
+++ b/contrib/mount
@@ -18,8 +18,8 @@ _mount()
if [[ "$cur" == *:* ]]; then
for sm in $(type -P showmount) {,/usr}/{,s}bin/showmount; do
- [ -x $sm ] || continue
- COMPREPLY=( $( compgen -W "$( $sm -e ${cur%%:*} | \
+ [ -x "$sm" ] || continue
+ COMPREPLY=( $( compgen -W "$( "$sm" -e ${cur%%:*} | \
awk 'NR>1 {print $1}' )" -- "${cur#*:}" ) )
return 0
done
--
bash-completion
_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-commits