Mercurial > index.cgi > dotfiles
comparison .bashrc @ 99:966c1e0b0a97
screenrc updates:
* Use hostname for a switch to load a specific screenrc
* screenrcs for specific hosts to make restarting them easier
author | Steve Huston <huston@astro.princeton.edu> |
---|---|
date | Wed, 18 Dec 2013 16:54:53 -0500 |
parents | a835f8c36e93 |
children | ef534933ab04 |
comparison
equal
deleted
inserted
replaced
98:3d2378f5856a | 99:966c1e0b0a97 |
---|---|
30 export PAGER=less | 30 export PAGER=less |
31 export EDITOR=vim | 31 export EDITOR=vim |
32 export RUBYLIB=$HOME/Installs/rubygems/lib | 32 export RUBYLIB=$HOME/Installs/rubygems/lib |
33 export GEM_HOME=$HOME/Installs/rubygems/gems | 33 export GEM_HOME=$HOME/Installs/rubygems/gems |
34 export HOST=`hostname -s` | 34 export HOST=`hostname -s` |
35 | |
36 if [ -f $HOME/.screenrcs/$HOST ]; then | |
37 export SCREENRC=$HOME/.screenrcs/$HOST | |
38 fi | |
35 | 39 |
36 # If this is an xterm set the title to user@host:dir | 40 # If this is an xterm set the title to user@host:dir |
37 case $TERM in | 41 case $TERM in |
38 xterm*|rxvt*) | 42 xterm*|rxvt*) |
39 PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}\007"' | 43 PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}\007"' |