Coming from a bash world, I really like knowing what directory I'm in at
the prompt. I tried putting this at the end of 'lib/profile':



fn cd{
    builtin cd $1
    prompt=('{pwd}^'% ' '    ')
}

cd $HOME



However, it doesn't work! The 'cd' command seems to do what it normally
does. The prompt stays at 'term% '. Does nothing.

-- 
Ryan
[ERROR]: Your autotools build scripts are 200 lines longer than your
program. Something’s wrong.
http://kirbyfan64.github.io/

Reply via email to