Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: local plugin in then clause too (#1203)
Co-authored-by: Kazuhiro NISHIYAMA <znz@users.noreply.github.com>
  • Loading branch information
Stratus3D and znz committed Apr 14, 2022
1 parent de6e22f commit 448f750
Showing 1 changed file with 2 additions and 1 deletion.
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

0 comments on commit 448f750

Please sign in to comment.