Mercurial > dotfiles
view bin/executable_clip @ 341:111a00459ad9
Make gitcommit, -rebase, etc buffers hidden
This allows to close commit messages with :wq when launched through nvr
from within a :terminal
author | zegervdv <zegervdv@me.com> |
---|---|
date | Sat, 23 Jan 2021 16:42:49 +0100 |
parents | 308594cabf62 |
children | eba1dee43703 |
line wrap: on
line source
#!/usr/bin/env bash DATA=$(cat - | base64) if [ -z "$TMUX" ]; then echo -ne "\e]52;c;${DATA}\x07" else echo -ne "\ePtmux;\e\e]52;c;${DATA}\x07\e\\" fi