try it with
fn cd{
builtin cd $1
prompt=(`{pwd}^'% ' '')
}
the difference is `{pwd} not '{pwd}.
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
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