diff --git a/.config/fish/functions/mktdir.fish b/.config/fish/functions/mktdir.fish new file mode 100644 index 00000000..eea64328 --- /dev/null +++ b/.config/fish/functions/mktdir.fish @@ -0,0 +1,4 @@ +function mktdir + set -g tempdir (mktemp -d) + cd $tempdir || exit 1 +end