]> git.ipfire.org Git - ipfire-2.x.git/blame - config/etc/bashrc
Netzwerkscripts erweitert.
[ipfire-2.x.git] / config / etc / bashrc
CommitLineData
71e32384
MT
1# Begin /etc/bashrc
2# Written for Beyond Linux From Scratch
3# by James Robertson <jameswrobertson@earthlink.net>
4# updated by Bruce Dubbs <bdubbs@linuxfromscratch.org>
5
6# Make sure that the terminal is set up properly for each shell
7
8if [ -f /etc/profile.d/tinker-term.sh ]; then
9 source /etc/profile.d/tinker-term.sh
10fi
11
12# System wide aliases and functions.
13
14# System wide environment variables and startup programs should go into
15# /etc/profile. Personal environment variables and startup programs
16# should go into ~/.bash_profile. Personal aliases and functions should
17# go into ~/.bashrc
18
19# Provides a colored /bin/ls command. Used in conjunction with code in
20# /etc/profile.
21
22alias ls='ls --color=auto'
23
24# Provides prompt for non-login shells, specifically shells started
25# in the X environment. [Review the LFS archive thread titled
26# PS1 Environment Variable for a great case study behind this script
27# addendum.]
28
bf7c473f
MT
29#export PS1="\033[0m[\033[1;33m\u\033[1;37m@\033[1;32m\]\h \033[1;31m\w\033[0m]\\$ "
30export PS1="[\u@\h \w]\\$ "
6fb8ec08 31#export PS1='\u@\h:\w\$ '
71e32384
MT
32
33# End /etc/bashrc