Fix compdef bug in Bash version