It works:

        : root; fn cd {builtin cd $* ; prompt=(': '`{pwd}^'; ' '        ')}
        : root; cd
        : /usr/a; cd /tmp
        : /tmp; 

If you’re still having trouble, paste a transcript like that, so we can see 
what’s going on.

Note also that spaces in file names will screw up the easy version of this. If 
you’re on a filesystem that likes such things, you might instead want something 
like this:

        : /Library/Desktop; pwd            
        /Library/Desktop Pictures
        : /Library/Desktop; fn cd {builtin cd $* ; cwd=`{pwd} ; prompt=(': 
'$"cwd^'; ' '        ')}
        : /Library/Desktop; cd .
        : /Library/Desktop Pictures; 



> On Jun 12, 2015, at 17:05 , Ryan Gonzalez <rym...@gmail.com> wrote:
> 
> Thanks for replying! Unfortunately, that doesn't change anything. Still stuck 
> at the 'term% ' prompt.
> 


Reply via email to