Last change
on this file since 922 was
561,
checked in by andersk, 17 years ago
|
Include the real hostname in the default prompt.
|
File size:
846 bytes
|
Rev | Line | |
---|
[3] | 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 | |
---|
[561] | 14 | export PS1='[\u@\h]:\w\$ ' |
---|
[3] | 15 | umask 022 |
---|
| 16 | |
---|
[126] | 17 | alias su='echo "Instead of running su USERNAME, ssh USERNAME@scripts.mit.edu from Athena" #' |
---|
| 18 | |
---|
[3] | 19 | # You may uncomment the following lines if you want `ls' to be colorized: |
---|
| 20 | # export LS_OPTIONS='--color=auto' |
---|
| 21 | # eval `dircolors` |
---|
| 22 | # alias ls='ls $LS_OPTIONS' |
---|
| 23 | # alias ll='ls $LS_OPTIONS -l' |
---|
| 24 | # alias l='ls $LS_OPTIONS -lA' |
---|
| 25 | # |
---|
| 26 | # Some more alias to avoid making mistakes: |
---|
| 27 | # alias rm='rm -i' |
---|
| 28 | # alias cp='cp -i' |
---|
| 29 | # alias mv='mv -i' |
---|
| 30 | |
---|
[561] | 31 | if [ -f ~/.bashrc.scripts ]; then |
---|
| 32 | . ~/.bashrc.scripts |
---|
[3] | 33 | fi |
---|
| 34 | |
---|
| 35 | if [ -d ~/web_scripts ]; then |
---|
| 36 | cd ~/web_scripts |
---|
| 37 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.