When using tmux with emacs, directory changes were not being picked up. Terminals can be notified of the current directory by printing terminal control characters to the screen. As a workaround I switched to Ghostel,ZMX, and installed a change directory shell hook to tell the terminal when the current directory changes. Ghosty and zmx was…