I added it to the end of lib/profile.

On June 13, 2015 3:02:56 AM CDT, Ingo Krabbe <ikrabbe.ask@gmail.com> wrote:
I tried it in a fresh window, where it works for me.

Thanks for replying! Unfortunately, that doesn't change anything. Still
stuck at the 'term% ' prompt.


On Sun, Jun 7, 2015 at 6:43 PM, Ingo Krabbe <ikrabbe.ask@gmail.com> wrote:

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 $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/




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




--
Sent from my Android device with K-9 Mail. Please excuse my brevity.