mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 09:38:16 -07:00
12 lines
258 B
Bash
12 lines
258 B
Bash
plugin_list_command() {
|
|
local plugins_path=$(get_plugin_path)
|
|
|
|
if ls $plugins_path &> /dev/null; then
|
|
for plugin_path in $plugins_path/* ; do
|
|
echo "$(basename $plugin_path)"
|
|
done
|
|
else
|
|
echo 'Oohes nooes ~! No plugins installed'
|
|
fi
|
|
}
|