summaryrefslogtreecommitdiffstats
path: root/abs/core/bash/profile
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core/bash/profile
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core/bash/profile')
-rw-r--r--abs/core/bash/profile35
1 files changed, 35 insertions, 0 deletions
diff --git a/abs/core/bash/profile b/abs/core/bash/profile
new file mode 100644
index 0000000..ca1d402
--- /dev/null
+++ b/abs/core/bash/profile
@@ -0,0 +1,35 @@
+#
+# /etc/profile
+#
+
+export PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/bin"
+
+export MANPATH="/usr/man:/usr/X11R6/man"
+export LESSCHARSET="latin1"
+export INPUTRC="/etc/inputrc"
+export LESS="-R"
+
+export LC_COLLATE="C"
+
+export COLUMNS LINES
+
+export PS1='[\u@\h \W]\$ '
+export PS2='> '
+
+umask 022
+
+if [ "$TERM" = "xterm" -o "$TERM" = "xterm-color" -o "$TERM" = "rxvt" -o "$TERM" = "xterm-xfree86" ]; then
+ PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
+fi
+
+# load profiles from /etc/profile.d
+# (to disable a profile, just remove execute permission on it)
+if [ `ls -A1 /etc/profile.d/ | wc -l` -gt 0 ]; then
+ for profile in /etc/profile.d/*.sh; do
+ if [ -x $profile ]; then
+ . $profile
+ fi
+ done
+ unset profile
+fi
+# End of file