zsh completion of first arg includes local dirs like rosbash

This commit is contained in:
Thibault Kruse 2011-12-03 10:55:53 +00:00
parent 4ba1cdfa50
commit 88ae861f5c
1 changed files with 2 additions and 2 deletions

View File

@ -501,8 +501,8 @@ compctl -K "_roscomplete" "rosmake"
compctl -f -x 'p[1]' -K "_roscomplete" - 'p[2]' -K _roscomplete_file -- "rosed" "roscp"
compctl -f -x 'p[1]' -K "_roscomplete" - 'p[2]' -K _roscomplete_exe -- "rosrun"
compctl -f -x 'p[1]' -K "_roscomplete" - 'p[2]' -K _roscomplete_launchfile -- "roslaunch"
compctl -f -x 'p[1]' -K "_roscomplete" - 'p[2]' -K _roscomplete_launchfile -- "rostest"
compctl -f -x 'p[1]' -K "_roscomplete" -tx - 'p[2]' -K _roscomplete_launchfile -- "roslaunch"
compctl -f -x 'p[1]' -K "_roscomplete" -tx - 'p[2]' -K _roscomplete_launchfile -- "rostest"
compctl -K "_roscomplete_rospack" "rospack"
compctl -K "_roscomplete_rosbag" "rosbag"
compctl -K "_roscomplete_rosnode" "rosnode"