Enhance completion path

This commit is contained in:
Jonathan MERCIER
2012-01-20 19:19:04 +01:00
parent af84491591
commit 902b9b20aa

View File

@@ -125,7 +125,7 @@ have ldc2 &&{
'-Dd='*|'-Hd='*|'-I='*|'-J='*|'-od='*) # add an =<dir>
prev="${cur%%=*}="
cur=${cur#*=}
COMPREPLY=( ${prev}$(compgen -d "${cur}") )
COMPREPLY=( ${prev}$(compgen -S '/' -d "${cur}") )
return 0
;;
-'Df='*|'-Hf='*|'-deps='*|'-internalize-public-api-file='*|'-of='*|'-Xf='*) # add an =<file>