mirror of
https://github.com/tedkulp/dotfiles
synced 2026-04-19 22:04:38 -04:00
feat: first in a line of asdf functions
This commit is contained in:
@@ -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}
|
||||
}
|
||||
Reference in New Issue
Block a user