X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/e7aef48f33e934106d1a50201d9f098f9886d7ec..9725c0dbc20d4bba1fb189f36a810778668aeed9:/.zsh/zshrc/39_tempfuncs?ds=inline diff --git a/.zsh/zshrc/39_tempfuncs b/.zsh/zshrc/39_tempfuncs index 506f001..de2e232 100644 --- a/.zsh/zshrc/39_tempfuncs +++ b/.zsh/zshrc/39_tempfuncs @@ -9,12 +9,12 @@ # cdt () { - builtin cd $(mktemp -td cdt.XXXXXXXX) + builtin cd $(mktemp -td cdt.XXXXXX) pwd } vit () { - local tmpfile=$(mktemp -t vit.XXXXXXXX) + local tmpfile=$(mktemp -t vit.XXXXXX) [ "$1" = '-' ] && cat >| $tmpfile sensible-editor $tmpfile /dev/tty echo $tmpfile