diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-11-23 23:35:59 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-11-24 12:42:27 -0700 |
commit | c67d4836f4d6d5e6c8ef4e2de38bd21ccb6ee1a1 (patch) | |
tree | fded906652b6bf03c60e0c133a368c5027cd4d1e /lib-src/mr/config | |
parent | aa5a315a0876431105f73da75de9ddfa89e907d3 (diff) | |
download | dotfiles-c67d4836f4d6d5e6c8ef4e2de38bd21ccb6ee1a1.tar.gz |
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.
Diffstat (limited to 'lib-src/mr/config')
-rw-r--r-- | lib-src/mr/config | 2 |
1 files changed, 1 insertions, 1 deletions
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 |