Fix asdf commands
This commit is contained in:
parent
2eddeed8b6
commit
92b4363a68
@ -11,7 +11,7 @@ fi
|
||||
if [[ $lang ]]; then
|
||||
for lng in $(echo $lang); do
|
||||
for version in $(asdf list $lng | sort -nrk1,1 | eval "fzf ${FZF_DEFAULT_OPTS} -m --header='[asdf:${lng}:clean]'")
|
||||
do asdf uninstall $lng $version
|
||||
do asdf uninstall $lng $version
|
||||
done
|
||||
done
|
||||
fi
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user