Thursday, November 24, 2016

Displaying hidden files in Finder

In a terminal, type

defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder

Hide them again with FALSE

Wednesday, November 23, 2016

Resizing tmux after attaching from a smaller teminal window

Attached at work in a high resolution terminal window.  Went home and attached from a lower resolution terminal window.  Back at work and tmux windows are all resized to the lower resolution.  There are some complicated resizing things to do, but I found it easier to just detach the home session.

Ctrl-a + D (capital d) gives you a list of all the terminals attached to tmux sessions AND it lists their resolution.  Just detach the lower resolution screen.