feat: first in a line of asdf functions

This commit is contained in:
2023-10-16 07:06:00 -04:00
parent a661e109ce
commit d5b83459b6

6
.config/zsh/asdf.zsh Normal file
View File

@@ -0,0 +1,6 @@
asdf-up() {
plugin=$1
cur_version=`asdf current ${plugin} | tr -s ' ' | cut -d ' ' -f 2`
echo Updating plugin: $plugin version: $cur_version
asdf uninstall ${plugin} ${cur_version} && asdf install ${plugin} ${cur_version}
}