chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e966634
)
Do not search and replace metadata/ and .txt
author
Daniel Martí
<mvdan@mvdan.cc>
Fri, 6 Sep 2013 21:13:45 +0000
(23:13 +0200)
committer
Daniel Martí
<mvdan@mvdan.cc>
Fri, 6 Sep 2013 21:13:45 +0000
(23:13 +0200)
completion/bash-completion
patch
|
blob
|
history
diff --git
a/completion/bash-completion
b/completion/bash-completion
index 16bfc504cf1059fd97961ca2893d15d769ec7501..537cbd3c76f7802d4e89663d1dd97afe30533bba 100644
(file)
--- a/
completion/bash-completion
+++ b/
completion/bash-completion
@@
-26,8
+26,8
@@
__package() {
[[ -d ./metadata ]] || return 0
files=( metadata/*.txt )
- files=( ${files[@]
/metadata\/
/} )
- files=${files[@]
/.txt/
}
+ files=( ${files[@]
#metadata
/} )
+ files=${files[@]
%.txt
}
COMPREPLY=( $( compgen -W "$files" -- $cur ) )
}