3 ms·
And I've used this for a few years, courtesy of https://news.ycombinator.com/item?id=10145362 https://news.ycombinator.com/item?id=10145362 I added the call to
by hboon 4y ago
And I've used this for a few years, courtesy of https://news.ycombinator.com/item?id=10145362 https://news.ycombinator.com/item?id=10145362
I added the call to `ansifilter`:
function clip
if not tty >/dev/null
ansifilter | pbcopy
else
pbpaste
end
end