X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/e7aef48f33e934106d1a50201d9f098f9886d7ec..2da43e7f8590b45d7d29dec8f5d2997837bcd702:/.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