mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 11:19:22 +01:00
bashrc & zshrc: Fix order of lines & add uname=uname
I will use $uname somewhere later.
This commit is contained in:
parent
80c8b5f6e7
commit
3fedadcdc4
16
bashrc
16
bashrc
@ -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
16
zshrc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user