X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/e7aef48f33e934106d1a50201d9f098f9886d7ec..630e225d73f2417de8e491d6b35df4ae5394654a:/.zsh/zshrc/39_tempfuncs 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