From c67d4836f4d6d5e6c8ef4e2de38bd21ccb6ee1a1 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Wed, 23 Nov 2022 23:35:59 -0700 Subject: tidy and simplify shell init Rely on SPWCRONTAB property to set PATH for cronjobs, and otherwise rely on .profile, .xsessionrc etc. to set PATH, once, at login. Just archive scripts I haven't used lately which might otherwise need more significant adjustments, or appear to be broken in other ways. --- lib-src/mr/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib-src/mr/config') diff --git a/lib-src/mr/config b/lib-src/mr/config index 9cd84fe2..ea2a0b8e 100644 --- a/lib-src/mr/config +++ b/lib-src/mr/config @@ -94,7 +94,7 @@ lib = # # here we rely on the fact that ssh already passes argument # # through `/bin/sh -c' (note use of single-quotes in this # # function) -# ssh athena 'cd $HOME/'"$1"' && . $HOME/.shenv && '"$2" +# ssh athena 'cd $HOME/'"$1"' && . $HOME/.profile && '"$2" # } # --- standard procedures -- cgit v1.2.3