My .cshrc file contains the following:
set prompt = "%{\033[0;32m%}%S%B\! <%~> :%b%s %{\033[0m%}"
Each time I cd out of my home directory, the prompt formatting resets to display:
33 /~/newdirectory/ :
What am I doing wrong?
Hi,
I'm just trying to configure the primary prompt to contain the last history number and exit code of the previously executed command, seperated by a ':'(with no spaces). I tried assigining variable to PS1, but I only got it to display the exit code of the previously executed command but having problem with the history number.
I just installed ubuntu 9.1 on an inspiron 4000. The screen looks like like its been split and I can't see the options to try to change display options. I have uploaded a picture from my phone. It kinda sucks but it's there.
I have tried "sudo dpkg-reconfigure xserver-xorg". this gives me nothing but an empty prompt.
I have also tried "sudo nano /etc/X11/xorg.conf".
Hello, I'm a newb to the whole ubuntu but I wish I haad learned about this a long time ago. So heres my scenario and question. I'm trying to make a simple menu in the bash shell using gedit that allows me to select the back ground colors of the screen and to pick different variable for the prompt. One such variable is the changing of the prompt color.
In Ubuntu i have no problems setting up my dual monitor set up using -
xrandr --output DVI-I-1 --left-of DVI-I-2
I then go into display and change the resolution of one of the monitors. Using LXDE i can't seem to change the resolution using the display settings tool.
Good morning,I wanted to try zsh for a while and I finally installed it.
Hello!
I've been fighting now 2 days already with the ATI driver & Dual Display.
ATI Driver (RPMFusion) works fine with 1 display. I have 2 x 27" identical displays and
when using Multi-Display to get one big desktop. 2nd display is just with white
screen and I cannot move anything from display one to there.
I just did the latest updates and now my display is stuck at 800 x 600! How do I get it back to 1280 x 1024 ?
After running # nvidia-xconfig and then rebooting. the display is so distorted I can't see anything. and when I do Ctrl-Alt-F1 nothing happens and I can't get to a prompt. How do I get a prompt?
This is bad. never had a video problem like this one.
I added this command to my root .bashrc file to add color to my prompt
and to simplify its path portion to the lowest level directory,
Code:
export PS1="\e[1;31m\u@\h:\W\$\e[m "
and my bash prompt comes up ending with $ when I expected #.
Also, occasionally, when I enter a command, part of that command
becomes part of my prompt!
If the following is a prompt and command,
Code: