Skip to main content

All Questions

Tagged with
0 votes
1 answer
224 views

How to unbold my tcsh prompt (my tcsh prompt is stuck bold)?

Unlike most searches I did on this question, I want my prompt to not be bold. But I can't stop it. Here is how I set my prompt. set green = "%{\033[01;32m%}" set white = "%{\033[...
Myles Prather's user avatar
2 votes
1 answer
2k views

How to make tcsh multiline prompt use newline character?

Scenario I like to use a multi-line prompt. set prompt="${bold}${green}%M${white}:${red}%c5${unbold} \n${white}% " I quite often copy/paste terminal lines into Windows emails. Problem It appears ...
Myles Prather's user avatar
0 votes
1 answer
5k views

How to customize .cshrc to configure command prompt?

Background Inspired by this question, I wanted to try to change my command prompt in this manner Enter this line into ~/.cshrc a. setenv PS1 "\[\e[32m\][\[\e[m\]\[\e[31m\]\u\[\e[m\]\[\e[33m\]@\[\e[...
isakbob's user avatar
  • 145
-1 votes
2 answers
2k views

How to retrieve prompt format string in csh / tcsh

My current prompt format string is generated by an outside script that is provided by the organization. I want to manipulate it a bit (add time to the string) for that I need my current format string. ...
Roee's user avatar
  • 1
2 votes
1 answer
703 views

csh: Is there a prompt outside of $prompt?

Consider this c-shell grab: [<my-user>@<my-host> ~]>echo $SHELL /bin/csh \033]30;<my-host-name>\007\c [<my-user>@<my-host> ~]>set | grep prompt prompt [%n@%m %~]%#...
Chen Levy's user avatar
  • 370
3 votes
1 answer
13k views

Changing text color in c-shell

I can change the text color in the terminal permanently by adding this: export PS1="\e[0;31m[\u@\h \W]\$ \e[m" to the .bashrc file. Now I have to go into cshell, what is the corresponding way?
colddie's user avatar
  • 131
2 votes
1 answer
3k views

Properly defining a multi-line prompt in tcsh

I am trying to configure my prompt in tcsh to make it multi-line (i.e having one line provide system info, and the next line the one where I type commands). Currently I have the following: set ...
Josh's user avatar
  • 1,754