|
Last change
on this file since 10 was
3,
checked in by jbarnold, 19 years ago
|
|
Added missing bashrc file; added env cleaning
|
|
File size:
775 bytes
|
| Line | |
|---|
| 1 | # System-wide .bashrc file for interactive bash(1) shells. |
|---|
| 2 | |
|---|
| 3 | . /etc/bashrc |
|---|
| 4 | |
|---|
| 5 | shopt -s checkwinsize |
|---|
| 6 | |
|---|
| 7 | # enable bash completion in interactive shells |
|---|
| 8 | |
|---|
| 9 | #if [ "$PS1" -a -f /etc/bash_completion ]; then |
|---|
| 10 | # . /etc/bash_completion |
|---|
| 11 | #fi |
|---|
| 12 | # ~/.bashrc: executed by bash(1) for non-login shells. |
|---|
| 13 | |
|---|
| 14 | export PS1='[\u@scripts]:\w\$ ' |
|---|
| 15 | umask 022 |
|---|
| 16 | |
|---|
| 17 | # You may uncomment the following lines if you want `ls' to be colorized: |
|---|
| 18 | # export LS_OPTIONS='--color=auto' |
|---|
| 19 | # eval `dircolors` |
|---|
| 20 | # alias ls='ls $LS_OPTIONS' |
|---|
| 21 | # alias ll='ls $LS_OPTIONS -l' |
|---|
| 22 | # alias l='ls $LS_OPTIONS -lA' |
|---|
| 23 | # |
|---|
| 24 | # Some more alias to avoid making mistakes: |
|---|
| 25 | # alias rm='rm -i' |
|---|
| 26 | # alias cp='cp -i' |
|---|
| 27 | # alias mv='mv -i' |
|---|
| 28 | |
|---|
| 29 | if [ -f /mit/$USER/.bashrc.scripts ]; then |
|---|
| 30 | . /mit/$USER/.bashrc.scripts |
|---|
| 31 | fi |
|---|
| 32 | |
|---|
| 33 | if [ -d ~/web_scripts ]; then |
|---|
| 34 | cd ~/web_scripts |
|---|
| 35 | fi |
|---|
Note: See
TracBrowser
for help on using the repository browser.