Call _filedir instead of _filedirs in screen

NOTE: Because the `screen' completion doesn't have `-o filenames' in
effect, _filedir won't escape spaces in filenames.  See also:
http://lists.alioth.debian.org/pipermail/bash-completion-devel/2009-July/001766.html
This commit is contained in:
Freddy Vulto 2009-07-31 10:38:59 +02:00
parent 91f804f8fb
commit f458bada6c

View File

@ -52,7 +52,7 @@ _screen()
COMPREPLY=( $( grep ^${cur:-[^#]} /etc/shells ) )
;;
-c)
_filedirs
_filedir
return 0
;;
esac