Add asdfexec helper command
parent
f24ceb80f9
commit
f6916c3c3c
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue