By removing the `tmuxinator`-existence checks and by employing the
correct completion definition functions, `tmuxinator.bash` and
`tmuxinator.zsh` can be sourced more flexibly, without running into
errors caused by not-yet-initialised `rvm` installations.
For `zsh`:
Previously, the first `#compdef` line was inserted to allow
`tmuxinator.zsh` to be used within `zsh`'s completion autoloading.
However, since it seems preferable to install `tmuxinator` completion by
directly sourcing files, this autoload-related definition is no longer
necessary, and an explicit `compdef` takes its place.
Previously the script was assuming that a single arg meant that a mux
command must be next. However, mux now supports calling just
'mux projet-name', meaning the bash completion script should do the
same.
rbenv adds a shim to all Ruby executables which breaks the completion
scripts.
Revert "Add the slow completion scripts back to bin."
This reverts commit f94c56446c.