Alias and complete common misspellings of bash-it

This commit is contained in:
con-f-use
2017-03-17 20:29:02 +01:00
parent 5858fcdbdd
commit 43a63965ee
2 changed files with 13 additions and 0 deletions

View File

@@ -110,4 +110,10 @@ _bash-it-comp()
return 0
}
# Activate completion for bash-it and its common misspellings
complete -F _bash-it-comp bash-it
complete -F _bash-it-comp bash-ti
complete -F _bash-it-comp shit
complete -F _bash-it-comp bashit
complete -F _bash-it-comp batshit
complete -F _bash-it-comp bash_it