From c21837be1c370684bc4e6f747c6241e77d0e4550 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sun, 2 Aug 2015 23:18:24 -0400 Subject: Remove -i flag from shell-command-switch I was using this to get aliases, but this was a bad idea because it can make internal commands that rely on this slow, especially if the repeatedly spawn processes (I noticed this with magit-patch-id). I will probably get annoyed soon by the lack of aliases with some commands (e.g., compile) and will let-bind these variables around those specific commands. --- lisp/init-external.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp') diff --git a/lisp/init-external.el b/lisp/init-external.el index 1f275a9..104e6c7 100644 --- a/lisp/init-external.el +++ b/lisp/init-external.el @@ -17,7 +17,8 @@ ;;; Shells -(setq shell-command-switch "-ic") +(setq shell-file-name "/bin/bash") +(setq shell-command-switch "-c") (defvar km/terminal "urxvt") -- cgit v1.2.3