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


Click here to return to the 'use this for zsh' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
use this for zsh
Authored by: juggularity on Feb 24, '09 11:43:21AM
You can use something like this instead
function chpwd(){ echo -ne "e]0;$PWD}a" }
which is cut/paste safe. I prefer having just the current directory displayed instead of the whole pathname. To do this replace
$PWD
with
${PWD##/*/}


[ Reply to This | # ]