changeset 170:b41425a5e2f6

add $W
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Wed, 20 Jul 2022 19:48:11 +0100
parents a8e311034d43
children c7d57d158331
files .bashrc
diffstat 1 files changed, 9 insertions(+), 1 deletions(-) [+]
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