Skip to content

Commit

Permalink
Update bash completion
Browse files Browse the repository at this point in the history
  • Loading branch information
ken-matsui committed May 27, 2022
1 parent a259bd5 commit 1d04369
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
Empty file removed src/etc/man/man1/poac-root.1
Empty file.
14 changes: 5 additions & 9 deletions src/etc/poac.bash
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ __poac() {
local prev=${COMP_WORDS[COMP_CWORD-1]}

case "${prev}" in
uninstall) COMPREPLY=$(ls ./deps) ;;
*) COMPREPLY=($__poac_commands) ;;
esac

Expand All @@ -28,15 +27,12 @@ fi

complete -F __poac poac

__poac_commands='cache
doc
__poac_commands='build
create
fmt
init
install
lint
login
new
publish
root
run
search
uninstall
update'
search'

0 comments on commit 1d04369

Please sign in to comment.