← Back to team overview

sslug-teknik team mailing list archive

Re: grep, ls og redirection i X

 

On Wed, 7 Mar 2001, Emil S. Hansen wrote:

> Hvordan ser din ~/.bashrc ud? (evt din ~/.bash_profile)?

~/.bash_profile
----------
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
	. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin
BASH_ENV=$HOME/.bashrc

export BASH_ENV PATH
----------

~/.bashrc
----------
# .bashrc

# User specific aliases and functions

# Source global definitions
if [ -f /etc/bashrc ]; then
	. /etc/bashrc
fi

unset MAILCHECK


# Source global definitions
if [ -f /etc/bashrc ]; then
	. /etc/bashrc
fi

if [ "$TERM" != "xterm" ]; then
  setleds +num 2> /dev/null
fi
----------

/etc/bashrc og /etc/profile er standard Mandrake 7.2 uden ændringer.

Der er ingen ~/.profile

Med venlig hilsen
Bjørn Bille Højte
bjoern@xxxxxxxxxxxxx




Follow ups

References