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 /.emacs.d/init.el | |
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 '.emacs.d/init.el')
-rw-r--r-- | .emacs.d/init.el | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 6fea6cb5..0c05d204 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -699,11 +699,6 @@ Lisp Interaction C-j in `lisp-interaction-mode' and similar." (setenv "TZ" "MST") (set-time-zone-rule "/usr/share/zoneinfo/America/Phoenix")) -(when-let ((bash (executable-find "bash"))) - (setq shell-file-name "bash") - (setenv "SHELL" bash) - (setenv "BASH_ENV" (expand-file-name "~/.bash_defns"))) - ;;; Opening files in external programs ;;; ;;; For years I used the classic `openwith-mode', but it often breaks other |