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


Click here to return to the 'Saying 'ls' doesn't help!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Saying 'ls' doesn't help!
Authored by: bdestena on Mar 02, '02 06:24:23PM

I found out how to get the directory path in the terminal app
I'm using a zsh, just put this in your .zshrc file:

#Title bar displaying the current directory path
precmd () { print -Pn 'e]0;%~a' }

you can replace precmd by chpwd but you wont get a directory path in the title bar before you change directories once.

for a tcsh something like:
alias precmd 'echo -n "



[ Reply to This | # ]