From e7f4a8c5997e22bae02d741e9b1f40c42b0b0eb8 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 28 Apr 2009 18:40:02 +0200 Subject: [PATCH] mktemp only takes six characters now --- .zsh/zshrc/39_tempfuncs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5