Closed adarsh closed 7 years ago
Out of curiosity, if you're using Terminal.app or iTerm, do you not even want the overhead of clearing the screen with ⌘K
?
You've gone mad!! I'll be curious to see if this works for you long term. If so, :clap:
@edwardloveall I'm on iTerm2 and Command-K will clear the whole screen, which includes all of my tmux splits:
Before:
After:
But yeah, I don't want the overhead of another keystroke.
@captbaritone Maybe! Although I already love it. The rare examples where I need the history, I can scroll back in a tmux pane.
Reason for Change
Changes
preexec
function which runsclear
"just after a command has been read and is about to be executed." From the man page:http://zsh.sourceforge.net/Doc/Release/Functions.html