Files
bpfire/config/etc/bashrc
ms 203c2787c9 Clamav kommt erstma ohne Virendefinitionen daher.
Die laedt der sich dann alleine.
rsync-Update.
Das Pakfire-Update kann beim Verbinden auch im Hintergrund ablaufen.
Einige Shell-Kommandos interaktiv gemacht.
AdoDB ins Paket von Openmailadmin hinzugefuegt.
Prompt ist wieder farbig.
Das MySQL-Setup ist noch nicht so besonders fit.
Der Server braucht zu lange zum starten - somit kann noch kein Passwort gesetzt werden.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@971 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-10-14 14:04:38 +00:00

47 lines
1.4 KiB
Bash

# Begin /etc/bashrc
# Written for Beyond Linux From Scratch
# by James Robertson <jameswrobertson@earthlink.net>
# updated by Bruce Dubbs <bdubbs@linuxfromscratch.org>
# Make sure that the terminal is set up properly for each shell
if [ -f /etc/profile.d/tinker-term.sh ]; then
source /etc/profile.d/tinker-term.sh
fi
# System wide aliases and functions.
# System wide environment variables and startup programs should go into
# /etc/profile. Personal environment variables and startup programs
# should go into ~/.bash_profile. Personal aliases and functions should
# go into ~/.bashrc
# Provides a colored /bin/ls command. Used in conjunction with code in
# /etc/profile.
alias ls='ls --color=auto'
alias ll='ls -la'
alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'
# Make the shell a little bit more interactive
# to prevent the deletion of some files
alias mv='mv -i'
alias rm='rm -i'
alias cp='cp -i'
# Midnight Commander isn't compatible to UTF8.
# So we use it in ACSII-Mode.
alias mc='mc -a'
# Provides prompt for non-login shells, specifically shells started
# in the X environment. [Review the LFS archive thread titled
# PS1 Environment Variable for a great case study behind this script
# addendum.]
export PS1="\033[0m[\033[1;33m\u\033[1;37m@\033[1;32m\]\h \033[1;31m\w\033[0m]\\$ "
#export PS1="[\u@\h \w]\\$ "
#export PS1='\u@\h:\w\$ '
# End /etc/bashrc