Hi!
I wanted to simplify my bash prompt, so I edited my etc/bashrc file. I thought this was the file that would override any other env files. When I opened it, I saw that the way it was setup was not what my prompt looked like, although I forget exactly what was there. But i edited it the way I wanted it
Code:
PS1="$ "
and saved it.
Terminal shows this
bash: /home/atlas/.bashrc: line 73: syntax error near unexpected token ['
bash: /home/atlas/.bashrc: line 73:if [ -x /usr/bin/dircolors ] ; then '
I've tried to fix it using
"cp /ect/skel/.bashrc ~/"
And I get this "cp: cannot stat `/ect/skel/.bashrc': No such file or directory"
I'm unsure of why this is doing this and how to fix it.
I'm trying to launch one command in a new gnome-terminal window from a shell script, and it seems that my .bashrc file doesn't get sourced when calling gnome-terminal and executing a command:
gnome-terminal -t "my title" -e vim
But it does when launching gnome-terminal alone:
gnome-terminal -t "my title"
(for testing purposes, just add a echo "something" to the end of the .bashrc)
I also tr
Hello,
I edited some lines (altered HISTZISE and added an aliases) in .bashrc and now, every time I start the terminal the aliases declared in .bashrc appear on the top of the terminal window.
No idea why this happens.
Just provisioned a new Rackspace instance with Ubuntu 12.04 and pulled down rbenv from their github and installed it.
I'm getting the following errors when executing . ./~bashrc
$ .
If you are a power user who spends a lot of time with the terminal, having the weather info displayed in the terminal whenever you open it could be somehow handy. A tool to get the weather info is weathe-utils.
I've tried apt-get purging and reinstalling emacs, but if I run:
Code:
emacs ~/.bashrc
I get a blank file (emacs.d) that looks like this:
If I run the same command as root:
Code:
sudo emacs ~/.bashrc
I get the correct file that looks like this:
I've never understood the buffer thing, but emacs has worked great for me in the past.
I need to log in to various servers via ssh, and its a useful thing to log the terminal (even things in smitty menus/AIX and with correct/exact date/time).
Possible Duplicate:
Why won’t my xmodmap command run on startup/login?
I have my .bashrc file with the three following commands:
xmodmap ~/.xmodmap
synclient TapButton2=2
synclient ClickFinger2=3
They are supposed to execute when I log in, right?