summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-08-02 23:18:24 -0400
committerKyle Meyer <kyle@kyleam.com>2015-08-02 23:18:31 -0400
commitc21837be1c370684bc4e6f747c6241e77d0e4550 (patch)
treebcc71b25a13b57e804b7ebf7ab4e214373130910
parent154702778896f2d8f0d6fcb72da41e4753a7061f (diff)
downloademacs.d-c21837be1c370684bc4e6f747c6241e77d0e4550.tar.gz
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.
-rw-r--r--lisp/init-external.el3
1 files changed, 2 insertions, 1 deletions
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")