summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@mandriva.com>2009-07-28 13:58:36 +0000
committerFrederic Crozat <fcrozat@mandriva.com>2009-07-28 13:58:36 +0000
commit833b6f8f9178c67b72273e4c6c69f86bd4f120b6 (patch)
tree25e5b369781ec54348d7a0a8fb0d4ac7793ac3fd
parentd7b6987f0f31a3c9b215d7026a7e67ddb2094cfc (diff)
downloadsetup-833b6f8f9178c67b72273e4c6c69f86bd4f120b6.tar
setup-833b6f8f9178c67b72273e4c6c69f86bd4f120b6.tar.gz
setup-833b6f8f9178c67b72273e4c6c69f86bd4f120b6.tar.bz2
setup-833b6f8f9178c67b72273e4c6c69f86bd4f120b6.tar.xz
setup-833b6f8f9178c67b72273e4c6c69f86bd4f120b6.zip
- Remove bashrc from svn, moved to bash package
-rw-r--r--bashrc39
1 files changed, 0 insertions, 39 deletions
diff --git a/bashrc b/bashrc
deleted file mode 100644
index 9c50462..0000000
--- a/bashrc
+++ /dev/null
@@ -1,39 +0,0 @@
-# /etc/bashrc
-
-# System wide functions and aliases
-# Environment stuff goes in /etc/profile
-
-# by default, we want this to get set.
-# Even for non-interactive, non-login shells.
-if [ "`id -gn`" = "`id -un`" -a `id -u` -gt 99 ]; then
- umask 002
-else
- umask 022
-fi
-
-# are we an interactive shell?
-if [ "$PS1" ]; then
- case $TERM in
- xterm*)
- PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
- ;;
- *)
- ;;
- esac
- [ "$PS1" = "\\s-\\v\\\$ " ] && PS1="[\u@\h \W]\\$ "
-
- if [ -z "$loginsh" ]; then # We're not a login shell
- # Not all scripts in profile.d are compatible with other shells
- # TODO: make the scripts compatible or check the running shell by
- # themselves.
- if [ -n "${BASH_VERSION}${KSH_VERSION}${ZSH_VERSION}" ]; then
- for i in /etc/profile.d/*.sh; do
- if [ -x $i ]; then
- . $i
- fi
- done
- fi
- fi
-fi
-
-unset loginsh