]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - .profile
vim: Updates to epicscript syntax
[dotfiles.git] / .profile
1 # This is the default standard profile provided to a user.
2 # They are expected to edit it to meet their own needs.
3 unalias cd
4 stty erase ^? intr ^C kill ^U echoe
5 PATH=/epic/bin:/bin:/home/bin:/usr/bin:/bin:/opt/std/bin:/usr/local/bin:/usr/sbin
6 export PATH
7
8 set -a
9 HOST=$(hostname)
10 PS1='[$LOGNAME@$HOST:$PWD]$ '
11 set +a
12 PAGER=more
13
14 # Try to use tcsh or bash if available
15 if [[ -a /usr/local/bin/bash ]]
16 then
17 SHELL="/usr/local/bin/bash"
18 export SHELL; exec $SHELL
19 fi
20 if [[ -a /bin/bash ]]
21 then
22 SHELL="/bin/bash"
23 export SHELL; exec $SHELL
24 fi
25
26 # if current $TERM isn't valid, fall-back to TERM=xterm-color or TERM=xterm
27 case $(tput colors 2>&1) in
28 tput* )
29 export TERM=xterm-color
30 case $(tput colors 2>&1) in
31 tput* )
32 export TERM=xterm
33 ;;
34 esac
35 ;;
36 esac