diff options
author | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
---|---|---|
committer | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
commit | 0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch) | |
tree | c0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/bash/profile.bash | |
download | linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2 |
initial import
Diffstat (limited to 'abs/core-testing/bash/profile.bash')
-rw-r--r-- | abs/core-testing/bash/profile.bash | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/abs/core-testing/bash/profile.bash b/abs/core-testing/bash/profile.bash new file mode 100644 index 0000000..8a7e1aa --- /dev/null +++ b/abs/core-testing/bash/profile.bash @@ -0,0 +1,25 @@ +# +# /etc/profile.bash +# Global settings for bash shells +# + +PS1='[\u@\h \W]\$ ' +PS2='> ' +PS3='> ' +PS4='+ ' + +export PS1 PS2 PS3 PS4 + +#In the future we may want to add more ulimit entries here, +# in the offchance that /etc/security/limits.conf is skipped +ulimit -Sc 0 #Don't create core files + +if test "$TERM" = "xterm" -o \ + "$TERM" = "xterm-color" -o \ + "$TERM" = "xterm-256color" -o \ + "$TERM" = "rxvt" -o \ + "$TERM" = "rxvt-unicode" -o \ + "$TERM" = "xterm-xfree86"; then + PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"' + export PROMPT_COMMAND +fi |