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 /bin/insinuate-dotfiles | |
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 'bin/insinuate-dotfiles')
-rwxr-xr-x | bin/insinuate-dotfiles | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/bin/insinuate-dotfiles b/bin/insinuate-dotfiles index d7ec9178..2d4d0f91 100755 --- a/bin/insinuate-dotfiles +++ b/bin/insinuate-dotfiles @@ -24,17 +24,15 @@ # to do an update of what's already there, but this will be much slower over # sshfs than the following, which should copy files in just one direction -# Enhancement: When don't have git on remote and src/dotfiles does not -# exist, copy over .bashrc, .inputrc, .shenv, .emacs.d and maybe more, -# unconditionally (i.e. overwrite what's there, in case want to update -# to a newer version). Maybe confirm that I want to do that before -# copying, in case what I would prefer is just to go and install git -# on the remote machine. +# Enhancement: When don't have git on remote and src/dotfiles does not exist, +# copy over .bashrc, .inputrc, .profile, .shinit, .emacs.d and maybe more, +# unconditionally (i.e. overwrite what's there, in case want to update to a +# newer version). Maybe confirm that I want to do that before copying, in +# case what I would prefer is just to go and install git on the remote +# machine. set -e -. $HOME/.shenv - # assume connection sharing is set up in ~/.ssh/config ssh -fN "$1" |