diff .bashrc @ 170:b41425a5e2f6

add $W
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Wed, 20 Jul 2022 19:48:11 +0100
parents cac9586291ad
children 4cb5cc893003
line wrap: on
line diff
--- a/.bashrc	Wed Jul 20 19:47:21 2022 +0100
+++ b/.bashrc	Wed Jul 20 19:48:11 2022 +0100
@@ -49,10 +49,18 @@
   export HISTIGNORE='[ ]*:&:[fb]g:exit'
 fi
 
+if [ -z "$TERMINFO" ]
+then
+ export TERMINFO=/usr/share/terminfo
+ # needed to allow tmux to work
+fi
+
 EDITOR=emacs
 
 WSHARED=/work/dc007/dc007/shared
+W=/work/dc007/dc007/hst
 
 PATH=$PATH:$HOME/.local/bin:$HOME/bin:$WSHARED/bin
 
-export PATH EDITOR PS1 WSHARED USER_PROMPT_COMMAND
+export PATH EDITOR PS1 WSHARED W USER_PROMPT_COMMAND
+export -f prompt savehist