Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: local plugin in then clause too #1203

Merged
merged 1 commit into from Apr 14, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/commands/command-current.bash
Expand Up @@ -44,14 +44,15 @@ plugin_current_command() {
current_command() {
local terminal_format="%-15s %-15s %-10s\\n"
local exit_status=0
local plugin

# printf "$terminal_format" "PLUGIN" "VERSION" "SET BY CONFIG" # disbale this until we release headings across the board
if [ $# -eq 0 ]; then
for plugin in $(asdf plugin list); do
plugin_current_command "$plugin" "$terminal_format"
done
else
local plugin=$1
plugin=$1
plugin_current_command "$plugin" "$terminal_format"
exit_status="$?"
fi
Expand Down