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. --- .emacs.d/init.el | 5 ----- 1 file changed, 5 deletions(-) (limited to '.emacs.d/init.el') 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 -- cgit v1.2.3