From: martin f. krafft Date: Thu, 27 Apr 2017 04:40:13 +0000 (+0200) Subject: echo vit file location X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/a465abc69e8bb12baf6e42dd5234e61a584c6071?hp=dce22ed214c45f63c9358cb9d5a562e49dfdf7c7 echo vit file location --- 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" }