Last active
March 10, 2016 15:40
-
-
Save chrisshroba/b308b2ccbab57ecbb858 to your computer and use it in GitHub Desktop.
Function to clear all iTerm scrollback history
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Clears all iTerm scrollback | |
# Useful to run before commands with long output | |
# (simply scroll to top to find beginning of output) | |
c () { | |
echo "\033]50;ClearScrollback\x7" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment