Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Function to clear all iTerm scrollback history
# 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
You can’t perform that action at this time.