From ab8e79b895e43a31d93efb8402d5ece4243780af Mon Sep 17 00:00:00 2001 From: Jay Freeman Date: Thu, 14 Feb 2008 12:36:07 +0000 Subject: Made the move to profile.d. git-svn-id: http://svn.telesphoreo.org/trunk@86 514c082c-b64e-11dc-b46d-3d985efe055d --- over/etc/profile | 19 ++++++------------- over/etc/profile.d/terminal.sh | 3 +++ 2 files changed, 9 insertions(+), 13 deletions(-) create mode 100644 over/etc/profile.d/terminal.sh (limited to 'over') 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 -- cgit v1.2.3