diff --git a/completion/available/lerna.completion.bash b/completion/available/lerna.completion.bash index f8439d3e..792ea27b 100644 --- a/completion/available/lerna.completion.bash +++ b/completion/available/lerna.completion.bash @@ -1,15 +1,9 @@ #!/bin/bash -# Usage: -# -# To enable bash completion for lerna, add the following line (minus the -# leading #, which is the bash comment character) to your ~/.bashrc file: -# -# eval "$(lerna --completion=bash)" -# Enable bash autocompletion. +# Lerna autocompletion. function _lerna_completions() { - # The currently-being-completed word. local cur compls + # The currently-being-completed word. cur="${COMP_WORDS[COMP_CWORD]}" # Options