mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Enhance completion path
This commit is contained in:
@@ -125,7 +125,7 @@ have ldc2 &&{
|
|||||||
'-Dd='*|'-Hd='*|'-I='*|'-J='*|'-od='*) # add an =<dir>
|
'-Dd='*|'-Hd='*|'-I='*|'-J='*|'-od='*) # add an =<dir>
|
||||||
prev="${cur%%=*}="
|
prev="${cur%%=*}="
|
||||||
cur=${cur#*=}
|
cur=${cur#*=}
|
||||||
COMPREPLY=( ${prev}$(compgen -d "${cur}") )
|
COMPREPLY=( ${prev}$(compgen -S '/' -d "${cur}") )
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
-'Df='*|'-Hf='*|'-deps='*|'-internalize-public-api-file='*|'-of='*|'-Xf='*) # add an =<file>
|
-'Df='*|'-Hf='*|'-deps='*|'-internalize-public-api-file='*|'-of='*|'-Xf='*) # add an =<file>
|
||||||
|
|||||||
Reference in New Issue
Block a user