moved prompt code into userrc which is the correct place it turns out