X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/bbc6ef11c56f5a72285ef5ac88b0d130d3d4bb21..4b5c0d3763f9fb157b8df7623907e4735371ebe6:/.zsh/zshrc/20-tempfile%20dir_functions/etc/zsh.git/blobdiff_plain/bbc6ef11c56f5a72285ef5ac88b0d130d3d4bb21..4b5c0d3763f9fb157b8df7623907e4735371ebe6:/.zsh/zshrc/20-tempfile+dir_functions diff --git a/.zsh/zshrc/20-tempfile+dir_functions b/.zsh/zshrc/20-tempfile+dir_functions index e782fe0..6ca6998 100644 --- a/.zsh/zshrc/20-tempfile+dir_functions +++ b/.zsh/zshrc/20-tempfile+dir_functions @@ -20,10 +20,11 @@ cdt() { builtin cd "$REPLY" fi echo "$REPLY" + print -s cd "$REPLY" } _cdt() { - cdt "$@" + cdt "$@" >/dev/null zle reset-prompt zle -M "$REPLY" } @@ -56,6 +57,7 @@ vit() { sensible-editor +start "$REPLY" /dev/tty ln -Tsf $file ${TMPDIR:-/tmp}/${tag:-vit} echo "$REPLY" + print -s sensible-editor "$REPLY" } _vit() { vit "$@" >/dev/null