summaryrefslogtreecommitdiff
path: root/over
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-02-14 12:36:07 +0000
committerJay Freeman <saurik@saurik.com>2008-02-14 12:36:07 +0000
commitab8e79b895e43a31d93efb8402d5ece4243780af (patch)
tree6ca903cc474f9270db8d2e2af7394c87b6d4be54 /over
parent26020feaa3a141909349610bfd69611a13b3a41e (diff)
Made the move to profile.d.
git-svn-id: http://svn.telesphoreo.org/trunk@86 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'over')
-rw-r--r--over/etc/profile19
-rw-r--r--over/etc/profile.d/terminal.sh3
2 files changed, 9 insertions, 13 deletions
diff --git a/over/etc/profile b/over/etc/profile
index 0f9f00620..af1a3d2ac 100644
--- a/over/etc/profile
+++ b/over/etc/profile
@@ -1,16 +1,9 @@
-if [[ $TERM = network || -z $TERM ]]; then export TERM=xterm; fi
-
export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games'
export PS1='\h:\w \u\$ '
-
-alias ls="ls -Fb --color=auto -T 0"
-eval "$(dircolors -b)"
-alias less='less -R'
-export CLICOLOR=
-
-export CVS_RSH=ssh
-export RSYNC_RSH=ssh
-export EDITOR=vim
-export SVN_EDITOR=vim
-
umask 022
+
+for i in /etc/profile.d/*.sh ; do
+ if [ -r "$i" ]; then
+ . $i
+ fi
+done
diff --git a/over/etc/profile.d/terminal.sh b/over/etc/profile.d/terminal.sh
new file mode 100644
index 000000000..df0ca9546
--- /dev/null
+++ b/over/etc/profile.d/terminal.sh
@@ -0,0 +1,3 @@
+if [[ $TERM = network || -z $TERM ]]; then
+ export TERM=linux
+fi