Add asdfexec helper command

main
Ensar Sarajčić 2023-08-19 21:02:09 +02:00
parent f24ceb80f9
commit f6916c3c3c
2 changed files with 9 additions and 2 deletions

View File

@ -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

View File

@ -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
end