Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.7: Disable folder drop-down in Terminal menu bar Apps
In 10.7, Apple changed Terminal to include a drop-down path icon in the window's title bar, similar to what you get in Finder and many other applications.

While some may like this, the problem is that it actually changes the window's title, as seen by applications (such as our own window manager, Moom). For instance, run this command in 10.7's Terminal...

osascript -e "tell application \"Terminal"\ to return name of window 1"

...and you'll see the current folder reflected in the window title. If you'd rather not have the path there, the fix is simple. Just add this command to your .profile file (or whatever file you use to init your Terminal windows):

unset PROMPT_COMMAND

Save the .profile file, close and open a new Terminal window, and you'll see that the folder drop-down has vanished from the window title.
    •    
  • Currently 4.40 / 5
  You rated: 4 / 5 (5 votes cast)
 
[4,012 views]  

10.7: Disable folder drop-down in Terminal menu bar | 1 comments | Create New Account
Click here to return to the '10.7: Disable folder drop-down in Terminal menu bar' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.7: Disable folder drop-down in Terminal menu bar
Authored by: afb on Apr 16, '12 12:53:08AM

Might anyone know how to fix this for zsh?



[ Reply to This | # ]