Fix mktemp on Mac OS X

This commit is contained in:
Toby Fleming 2016-01-02 22:47:19 +00:00
parent 3e2e1ed27a
commit b6c79e4fb2
2 changed files with 2 additions and 2 deletions

View file

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

View file

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