bashrc & zshrc: Fix order of lines & add uname=`uname`

I will use $uname somewhere later.
This commit is contained in:
Mika Suomalainen 2012-09-16 15:24:34 +03:00
parent 80c8b5f6e7
commit 3fedadcdc4
2 changed files with 20 additions and 12 deletions

16
bashrc
View File

@ -136,12 +136,6 @@ hostname && uptime
# Source before mentioned locations if they exist.
# Don't check for mail!
unset MAILCHECK
# Enable core files.
ulimit -c unlimited
# .environment
if [ -f ~/.environment ]; then
source ~/.environment
@ -152,6 +146,16 @@ if [ -f ~/.bash_environment ]; then
source ~/.bash_environment
fi
# $uname should tell which OS is used.
$uname=`uname`
# Don't check for mail!
unset MAILCHECK
# Enable core files.
ulimit -c unlimited
# More colours :D
if [[ $TERM == 'xterm' ]]; then
export TERM=xterm-256color

16
zshrc
View File

@ -58,12 +58,6 @@ hostname && uptime
# Source before mentioned locations if they exist.
# Don't check for mail!
unset MAILCHECK
# Enable core files
ulimit -c unlimited
# .environment
if [ -f ~/.environment ]; then
source ~/.environment
@ -79,6 +73,16 @@ if [ -f ~/.zshenv ]; then
source ~/.zshenv
fi
# uname should be readable in $uname
uname=`uname`
# Don't check for mail!
unset MAILCHECK
# Enable core files.
ulimit -c unlimited
#More colours :D
if [[ $TERM == 'xterm' ]]; then
export TERM=xterm-256color