]> git.madduck.net Git - etc/zsh.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

echo vit file location
authormartin f. krafft <madduck@madduck.net>
Thu, 27 Apr 2017 04:40:13 +0000 (06:40 +0200)
committermartin f. krafft <madduck@madduck.net>
Wed, 17 May 2017 12:35:04 +0000 (14:35 +0200)
.zsh/zshrc/20-tempfile+dir_functions

index 5288098c0f35d8918ce97c319d97f6bd5f0e93a2..52ceb198d754ccacac96d11042cea62c3a23bb4b 100644 (file)
@@ -41,9 +41,10 @@ vit() {
   [ -n "$stdin" ] && cat >| $REPLY
   sensible-editor +start $REPLY </dev/tty >/dev/tty
   ln -sf $REPLY ${TMPDIR:-/tmp}/vit.latest
   [ -n "$stdin" ] && cat >| $REPLY
   sensible-editor +start $REPLY </dev/tty >/dev/tty
   ln -sf $REPLY ${TMPDIR:-/tmp}/vit.latest
+  echo "$REPLY"
 }
 _vit() {
 }
 _vit() {
-  vit "$@"
+  vit "$@" >/dev/null
   zle reset-prompt
   zle -M "$REPLY"
 }
   zle reset-prompt
   zle -M "$REPLY"
 }