diff --git a/functions/fisher_uninstall.fish b/functions/fisher_uninstall.fish index 7acc52d..a449289 100644 --- a/functions/fisher_uninstall.fish +++ b/functions/fisher_uninstall.fish @@ -111,7 +111,7 @@ function fisher_uninstall -d "Disable / Uninstall Plugins" continue end - set -l tmp (mktemp) + set -l tmp (mktemp -t fisher.XXXXXXXX) if not sed -E '/^ *'(printf "%s|%s" $name $url | sed 's|/|\\\/|g' )'([ #].*)*$/d' < $file > $tmp diff --git a/functions/wait.fish b/functions/wait.fish index b8b5099..e2f8d4f 100644 --- a/functions/wait.fish +++ b/functions/wait.fish @@ -90,7 +90,7 @@ function wait -d "Run commands and wait with a spin" end end - set -l tmp (mktemp) + set -l tmp (mktemp -t fisher.XXXXXXXX) fish -c "$commands" ^ $tmp &