Adding new stuff
This commit is contained in:
parent
39ee792ad4
commit
a410da0e04
722 changed files with 331 additions and 189 deletions
21
vim-plugins/bundle/eclim/bin/bash_complete
Normal file
21
vim-plugins/bundle/eclim/bin/bash_complete
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#!/bin/bash
|
||||
##
|
||||
# Script to manually invoke a bash completion function and print the results
|
||||
# one result per line.
|
||||
##
|
||||
|
||||
. /etc/bash_completion
|
||||
|
||||
COMP_FUNC=$1
|
||||
shift
|
||||
COMP_WORDS=("${@}")
|
||||
COMP_CWORD=$((${#COMP_WORDS[@]}-1))
|
||||
|
||||
CMD=${COMP_WORDS[0]}
|
||||
CUR=${COMP_WORDS[$COMP_CWORD]}
|
||||
PRE=${COMP_WORDS[$(($COMP_CWORD-1))]}
|
||||
|
||||
$COMP_FUNC $CMD $CUR $PRE
|
||||
for reply in ${COMPREPLY[@]} ; do
|
||||
echo $reply
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue