asdf-nodejs/lib/utils.sh
2020-01-14 09:54:39 -05:00

8 lines
176 B
Bash

# Helper functions
# TODO: Replace with an asdf variable once asdf starts providing the plugin name
# as a variable
plugin_name() {
basename "$(dirname "$(dirname "$0")")"
}