changeset 9:05820245a047

work around problem with PROMPT_COMMAND
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Sat, 23 Jul 2022 11:50:02 +0100
parents 1f17c2a883d1
children cf982df00cbd
files .bashrc .singrc
diffstat 2 files changed, 3 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/.bashrc	Wed Jul 20 19:44:03 2022 +0100
+++ b/.bashrc	Sat Jul 23 11:50:02 2022 +0100
@@ -6,12 +6,6 @@
 # Login for singularity
 # Source global definitions
 
-if [ -f /etc/bashrc ]; then
-  # This is protected against running twice...
-  . /etc/bashrc
-fi
-
-
 savehist () 
 { 
     hc=$(history 1 | tr -d '\n' | cut -d ' ' -f 2);
@@ -41,14 +35,10 @@
   export HISTIGNORE='[ ]*:&:[fb]g:exit'
 fi
 
-#export PYTHONPATH=$HOME/lib/python3.6/site-packages
-
-PROMPT_COMMAND=prompt
-
-EDITOR=emacs
+EDITOR=xemacs
 
 PATH=$PATH:$HOME/.local/bin:$HOME/bin
 
 HHOME=/home/dc007/dc007/$(whoami)
 
-export PATH EDITOR HHOME PROMPT_COMMAND
+export PATH EDITOR HHOME
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.singrc	Sat Jul 23 11:50:02 2022 +0100
@@ -0,0 +1,1 @@
+export PROMPT_COMMAND=prompt