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


Click here to return to the 'More form the Howto' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
More form the Howto
Authored by: hysterion on Feb 07, '02 08:15:15PM
Actually, the referenced howto also gives a clever way to put the working directory in the title bar, flexible enough that you can have it exactly as in Terminal.app's default prompt. (That is, limit it to the last 3 components of the path, and replace $HOME by ~.) Again this works on the Mac, and can be done as follows. Create a file named 'rc.mine' in ~/Library/init/tcsh/; edit it to contain this line:
set prompt = "%{^[]0;%c3^G%}[%m:%c3] %n%# "
where again ^[ and ^G are typed as escape sequences; and save. If you have both this rc.mine and the suggested aliases.mine, then... well, see for yourself :-)

(Incidentally, does anyone know if and how one can type those escape sequences in TextEdit, or BBEdit?)



[ Reply to This | # ]