where could I modify the konsole terminal setting?
where could I modify the konsole terminal setting?
I would like change my default setting in the terminal. my current terminal konsole is as below usrname:machinename[line]: current_path : I would like to shorten it because the current_path is too long and i find it quite messy... |
You want to modify the prompt so that it doesn't show the path?
If yes, then look out for the environment variable named PS1: Open .bashrc which is a hidden file located in the home directory. Look out for the variable PS1 there. On mine it is like PS1="\e[1;37m[\t \d]\n\w \e[m" \w means the current working directory. Delete it and save the file. For more info hit out Google with keywords: bash prompt customization |
cant find it in my .cshrc
there are many setting in the .cshrc by admin... |
Quote:
Anyway, find set prompt there, and find: %~ or %d %c or %. in it and remove it. I am not very sure if this is correct, but you can have a try. |
and have a look here, this may help: http://kb.mit.edu/confluence/pages/v...pageId=3907171
|
still cant find the "set prompt" in the .cshrc file
Can i set the new one in the .cshrc to overwrite the setting? |
Quote:
|
All times are GMT -5. The time now is 04:55 PM. |