Quickly Toggle Hidden Files Mac OS X

Working with hidden files often in OS X? but not often enough to keep them on all the time? Me too. Here’s a little edit to your bash profile to quickly toggle the visibility of hidden files with one word in terminal.

Press i to insert, use down key to reach the bottom, and add the following:

Exit insert mode with Esc save and close with ZZ

Restart your bash profile with:

And now you have some beautiful simple commands:

showhidden and nohidden

Leave a Reply