Skip to content

Instantly share code, notes, and snippets.

@emanon-was
Created November 22, 2022 06:40
Show Gist options
  • Save emanon-was/067c2feeabf7781f036cd03e57e3bb6f to your computer and use it in GitHub Desktop.
Save emanon-was/067c2feeabf7781f036cd03e57e3bb6f to your computer and use it in GitHub Desktop.
sdkman cmd
#!/usr/bin/env bash
source $SDKMAN_DIR/bin/sdkman-init.sh
if [ "$1" == 'exec' ]; then
${@:2};
else
sdk $@;
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment