Skip to content
Browse files

Update bash completion with latest task list.

  • Loading branch information...
1 parent e30a38d commit 31e5c6fef807405b43717909e1f9548114b170f4 @technomancy committed Jan 15, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 bash_completion.bash
View
6 bash_completion.bash
@@ -3,10 +3,10 @@ _lein_completion() {
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
- tasks="clean compile deps help install jar new pom test uberjar version"
+ tasks="classpath clean compile deploy deps help install interactive jar javac new plugin pom repl run swank test test! uberjar version"
case "${prev}" in
- clean | compile | deps | install | jar | new | pom | uberjar | version)
+ classpath | clean | compile | deploy | deps | install | interactive | jar | javac | new | plugin | pom | repl | swank | uberjar | version)
COMPREPLY=()
;;
help)
@@ -18,7 +18,7 @@ _lein_completion() {
COMPREPLY=( $(compgen -W "${tasks}" -- ${cur}) )
fi
;;
- test)
+ run | test | test!)
# list project's test namespaces:
local namespaces=$(find test/ -type f -name "*.clj" -exec grep -E \
'^\(ns[[:space:]]+\w+' '{}' ';' | sed -n 's/(ns[ ]*//p')

0 comments on commit 31e5c6f

Please sign in to comment.
Something went wrong with that request. Please try again.