samnyc
1
Hi, issue with my prompt, other gets their name, my comes with command number. Why?
{118} /home/markb > echo $SHELL
/bin/tcsh
{119} /home/markb > echo $SHELL
/bin/tcsh
{120} /home/markb >
my .cshrc has this....
set prompt="%{\033[32m%}{\!}%{\033]0;%n@%M : %~%L \007%} `pwd` >%{\033[0m%} "
any idea?
Try removing {\!} from your prompt set.
samnyc
3
Yes. that worked, now I updated the above prompt code to have /usr/bin/whoami. not working. Any idea?
set prompt="%{\033[32m%}{`\usr\bin\whoami`}%{\033]0;%n@%M : %~%L \007%} `pwd` >%{\033[0m%} "
now I am getting this. but not seeing the user name.
{} /home/markb >
UNIX paths use / , not \ .