From a465abc69e8bb12baf6e42dd5234e61a584c6071 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 27 Apr 2017 06:40:13 +0200 Subject: [PATCH] echo vit file location --- .zsh/zshrc/20-tempfile+dir_functions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.zsh/zshrc/20-tempfile+dir_functions b/.zsh/zshrc/20-tempfile+dir_functions index 5288098..52ceb19 100644 --- a/.zsh/zshrc/20-tempfile+dir_functions +++ b/.zsh/zshrc/20-tempfile+dir_functions @@ -41,9 +41,10 @@ vit() { [ -n "$stdin" ] && cat >| $REPLY sensible-editor +start $REPLY /dev/tty ln -sf $REPLY ${TMPDIR:-/tmp}/vit.latest + echo "$REPLY" } _vit() { - vit "$@" + vit "$@" >/dev/null zle reset-prompt zle -M "$REPLY" } -- 2.39.2