heapwolf / complete

Does your Node.js command line program have lots of arguments? Add custom tab completion!
166 stars 14 forks source link

Less strict auto complete string check #20

Closed Swaagie closed 4 years ago

Swaagie commented 11 years ago

The less strict test for # Node Completion will run against variations of the auto completion script. For instance, my personal .bashrc has, failing the check for # NODE-COMPLETE

# {{{
# Node Completion - Auto-generated, do not touch.
shopt -s progcomp
for f in $(command ls ~/.node-completion); do
  f="$HOME/.node-completion/$f"
  test -f "$f" && . "$f"
done
# }}}