diff --git a/contrib/completion/mas-completion.bash b/contrib/completion/mas-completion.bash index d431b29..31d9a09 100644 --- a/contrib/completion/mas-completion.bash +++ b/contrib/completion/mas-completion.bash @@ -9,7 +9,7 @@ _mas() { _get_comp_words_by_ref cur prev words cword fi if [[ $cword -eq 1 ]]; then - COMPREPLY=($(compgen -W "$(mas help | tail +3 | awk '{print $1}')" -- "$cur")) + COMPREPLY=($(compgen -W "$(mas help | tail -n +3 | awk '{print $1}')" -- "$cur")) return 0 fi }