Add some perl option non-completions.

This commit is contained in:
Ville Skyttä 2010-11-19 22:02:15 +02:00
parent 2f0948083d
commit ee1374f70b
2 changed files with 6 additions and 1 deletions

View File

@ -32,8 +32,10 @@ _perl()
prefix=$prev
fi
# only handle module completion for now
case $prev in
-D|-e|-E|-i|-F|-l)
return 0
;;
-I|-x)
local IFS=$'\n'
_compopt_o_filenames

View File

@ -91,6 +91,9 @@ assert_complete $options "perl -"
sync_after_int
assert_no_complete "perl -e "
sync_after_int
# Assuming that File::Spec and friends are always installed...
assert_complete_any "perl -MFile"