When opening a file in Emacs on Mac OS X, the file's path is displayed in the window bar (this bar at the upper end of the window which contains the three buttons for quitting, maximizing and minimizing). If I have a shell open (C-c s), it only displays *shell*
-- not very useful, especially if there are multiple shells open. How can I display the path of the current working directory in the window bar? So, for example, /ssh:[email protected]
.
Try this:
(setq frame-title-format '((:eval default-directory)))
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With