tags 367957 patch thanks Hi
the problem is in splitting mount response on any whitespace, while it should only split on new lines. Attaching patch to fix this. -- Michal Čihař | http://cihar.com | http://blog.cihar.com
--- /etc/bash_completion.orig 2008-01-28 13:28:55.000000000 +0900 +++ /etc/bash_completion 2008-01-28 14:20:18.000000000 +0900 @@ -637,7 +637,10 @@ COMPREPLY=() cur=${COMP_WORDS[COMP_CWORD]} + OLDIFS="$IFS" + IFS="\n" COMPREPLY=( $( compgen -W '$( mount | cut -d" " -f 3 )' -- $cur ) ) + IFS="$OLDIFS" return 0 }