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:
parent
91f804f8fb
commit
f458bada6c
@ -52,7 +52,7 @@ _screen()
|
|||||||
COMPREPLY=( $( grep ^${cur:-[^#]} /etc/shells ) )
|
COMPREPLY=( $( grep ^${cur:-[^#]} /etc/shells ) )
|
||||||
;;
|
;;
|
||||||
-c)
|
-c)
|
||||||
_filedirs
|
_filedir
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user