mirror of
https://github.com/tedkulp/dotfiles
synced 2026-03-05 13:40:18 -05:00
feat: first in a line of asdf functions
This commit is contained in:
6
.config/zsh/asdf.zsh
Normal file
6
.config/zsh/asdf.zsh
Normal 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}
|
||||
}
|
||||
Reference in New Issue
Block a user