repositories
/
dotfiles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ae9881
)
improve clm modules
author
Mart Lubbers
<mart@martlubbers.net>
Tue, 23 Oct 2018 07:59:37 +0000
(09:59 +0200)
committer
Mart Lubbers
<mart@martlubbers.net>
Tue, 23 Oct 2018 08:08:32 +0000
(10:08 +0200)
shell/.bash_completion.d/clm
patch
|
blob
|
history
diff --git
a/shell/.bash_completion.d/clm
b/shell/.bash_completion.d/clm
index
9eb873d
..
3f5b9ef
100644
(file)
--- a/
shell/.bash_completion.d/clm
+++ b/
shell/.bash_completion.d/clm
@@
-10,7
+10,10
@@
_clm()
case $prev in
"-IL")
# Complete Clean libraries
- opts="$(find "$CLEAN_HOME/lib" -mindepth 1 -maxdepth 1 -type d -exec basename {} \;)"
+ opts="$(find "$CLEAN_HOME/lib" -mindepth 1 -type d -not -name exe -regex ".*/lib/\([^/]*\|Platform/Deprecated/[^/]*\)" | cut -c $((${#CLEAN_HOME}+6))-)"
+
+
+
COMPREPLY=($(compgen -W "$opts" -- $cur))
return 0
;;