diff --git a/symlinks/config/fish/config.fish b/symlinks/config/fish/config.fish index ddfdc7a..62f2bb7 100644 --- a/symlinks/config/fish/config.fish +++ b/symlinks/config/fish/config.fish @@ -43,3 +43,10 @@ eval (asdf exec direnv hook fish | source) function direnv asdf exec direnv "$argv" end + +function asdfexec + begin + asdf shell $argv[1] $argv[2] + $argv[3..] + end +end diff --git a/symlinks/config/fish/functions/fisher.fish b/symlinks/config/fish/functions/fisher.fish index 73b7f4e..404e26e 100644 --- a/symlinks/config/fish/functions/fisher.fish +++ b/symlinks/config/fish/functions/fisher.fish @@ -83,7 +83,7 @@ function fisher -a cmd -d "fish plugin manager" fish -c " if test -e $plugin command cp -Rf $plugin/* $source - else + else set temp (command mktemp -d) set name (string split \@ $plugin) || set name[2] HEAD set url https://codeload.github.com/\$name[1]/tar.gz/\$name[2] @@ -203,4 +203,4 @@ else if functions -q _fisher_list # 4.0 echo -n "upgrading to fisher $fisher_version new in-memory state.." fisher update >/dev/null 2>/dev/null echo -ne "done\r\n" -end \ No newline at end of file +end