I have setup in .profile my login prompt as:
PS1='${HOSTNAME}/${PWD}>
how do I get the prompt to highlight so everytime i log in i see
whatever i set my PS1 to highlighted.?
I have setup in .profile my login prompt as:
PS1='${HOSTNAME}/${PWD}>how do I get the prompt to highlight so everytime i log in i see
whatever i set my PS1 to highlighted.?
What shell are you using?
In bash:
PS1='\[\e[[7m\]${HOSTNAME}/${PWD}\[\e[0m\]'
Adjust the 7 to whatever you want, e.g., 1;31 or 1;37;40m.
Ok much thanks, i got the idea for K-shell
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.