Bash variable not working
Posted: Mon Jan 23, 2012 8:33 pm
First, sorry if this isn 't the right place to post this.
OK, what I thought was pretty simple doesn't work and is driving me nuts...
Added to /etc/bash.bashrc
export HISTTIMEFORMAT="%h %d %H:%M:%S "
export HISTSIZE=10000
Typing env shows both variables, however using up arrow up arrow for history the HISTTIMEFORMAT isn't working.
This is after logging out and back in, rebooting etc. I'm using Mint 12.
If anyone can help me with this it would be greatly apprecated as Ive been searching and working on it for 3 days now.
Thanks in advance for any help!
OK, what I thought was pretty simple doesn't work and is driving me nuts...
Added to /etc/bash.bashrc
export HISTTIMEFORMAT="%h %d %H:%M:%S "
export HISTSIZE=10000
Typing env shows both variables, however using up arrow up arrow for history the HISTTIMEFORMAT isn't working.
This is after logging out and back in, rebooting etc. I'm using Mint 12.
If anyone can help me with this it would be greatly apprecated as Ive been searching and working on it for 3 days now.
Thanks in advance for any help!