Clear the Mac Terminal window in one written command (Cmd + K)

No more clear, “oh crap, scroll up, scroll up, scroll up… now which Console command is this a read out from?”

# vi ~/.bash_profile
# Add it, then close the Terminal window and re-open
# thanks me later
# Cmd + K (Command + K / Apple + K / Super + K)
clearbig() {
printf '\e[3J';

view raw


hosted with ❤ by GitHub

You can thank me later

By Dan Course

Senior Instructional Designer. Partnerships, people, products, delivery, agile tech and online edu. Naturally curious, innovative and willing to challenge the status quo.

%d bloggers like this: