diff --git a/libexec/swiftenv-init b/libexec/swiftenv-init index 9c8dd8f..c7d7316 100755 --- a/libexec/swiftenv-init +++ b/libexec/swiftenv-init @@ -1,7 +1,18 @@ #!/usr/bin/env bash +# completes set -e +if [ "$1" = "--complete" ]; then + echo "-" + echo "--no-rehash" + echo "--rehash" + echo "bash" + echo "zsh" + echo "fish" + exit +fi + print="" if [ -r "$SWIFTENV_ROOT/shims" ]; then