mirror of
https://github.com/asdf-vm/asdf-nodejs.git
synced 2024-10-06 07:42:08 +08:00
c975636239
Fixes issue #20
8 lines
176 B
Bash
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")")"
|
|
}
|