diff --git a/src/client/megacmd_completion.sh b/src/client/megacmd_completion.sh index 573241d0..b5e4229e 100644 --- a/src/client/megacmd_completion.sh +++ b/src/client/megacmd_completion.sh @@ -76,6 +76,6 @@ _megacmd() return 0 } -for i in $(compgen -ca | grep mega-); do +for i in $(compgen -ca mega-); do IFS=" " complete -o default -F _megacmd $i done