Emacs: How to show the current directory in a frame?

When you open a file in Emacs on Mac OS X, the path to the file is displayed in a window line (this line is at the top end of the window containing three buttons for exiting, maximizing, and minimizing). If I have a shell open ( Cc s ), it displays only *shell* - not very useful, especially if several shells are open. How can I display the path to the current working directory in a window line? So, for example, /ssh: mylogin@mymachine.foo.bar .

+7
source share
1 answer

Try the following:

 (setq frame-title-format '((:eval default-directory))) 
+6
source

All Articles