view bin/executable_clip @ 352:678cb3fdb667

Update to latest version of indent-blankline Removes the need for indentline, no conceal Exclude terminal from showing lines
author Zeger Van de Vannet <zegervdv@me.com>
date Tue, 23 Feb 2021 09:05:31 +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