Fix asdf commands

This commit is contained in:
Anton Zadvorny 2019-12-28 18:28:55 +03:00
parent 2eddeed8b6
commit 92b4363a68
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ lang=${1}
asdf plugin-list-all &>/dev/null 2>&1
if [[ -z $lang ]]; then
lang=$(asdf plugin-list-all | eval "fzf ${FZF_DEFAULT_OPTS} -m --header='[asdf:install]'")
lang=$(asdf plugin-list all | eval "fzf ${FZF_DEFAULT_OPTS} -m --header='[asdf:install]'" | awk '{print $1}')
fi
if [[ $lang ]]; then