iterm2-tab-set icon indicating copy to clipboard operation
iterm2-tab-set copied to clipboard

Add an option to disable text output to the console

Open jakeonrails opened this issue 7 years ago • 2 comments

I use this tool in a precmd/prexec hook with ZSH so it runs every time my prompt is rendered. When I'm using the --hash option, the text "hashed color: xxx" is rendered to my terminal. It'd be nice to be able to disable this output so it doesn't clutter my screen.

jakeonrails avatar Nov 20 '17 19:11 jakeonrails

Just to make it clear, you can't use > /dev/null because it will break tabset, which uses an escaped char stream to make the magic.

Edit:

You can also use escape sequences after the command ran, like this on my .zshrc:

function preexec {
    tabset $1 && printf "\e[1F\e[0J" # goes up one line then kills all to the end of the line
}

henrymazza avatar Feb 13 '21 03:02 henrymazza

That's a useful tip. I've taken instead the route of merging my two open PRs into my own fork and then installing from my own fork. I don't think this repo is maintained.

jakeonrails avatar Mar 04 '21 18:03 jakeonrails