diff options
author | Case Duckworth | 2021-05-19 12:55:12 -0500 |
---|---|---|
committer | Case Duckworth | 2021-05-19 12:55:12 -0500 |
commit | bb07f08067b0a4be7b480fc11bfef5a8c654556d (patch) | |
tree | ad6084187f8f36bcb3a551887be1e3f37792fa5d | |
parent | Add Firefox to exec-path /before/ checking if it's available (diff) | |
download | emacs-bb07f08067b0a4be7b480fc11bfef5a8c654556d.tar.gz emacs-bb07f08067b0a4be7b480fc11bfef5a8c654556d.zip |
Configure shell-command
From http://www.nextpoint.se/?p=864
-rw-r--r-- | init.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/init.el b/init.el index 6058eef..17fac5b 100644 --- a/init.el +++ b/init.el | |||
@@ -569,6 +569,14 @@ | |||
569 | (:hook flymake-mode | 569 | (:hook flymake-mode |
570 | flymake-shellcheck-load))) | 570 | flymake-shellcheck-load))) |
571 | 571 | ||
572 | (setup shell-command | ||
573 | (:option shell-command-switch (acdw/system | ||
574 | ;; I should be testing on some variable | ||
575 | (:home "-csi") | ||
576 | (:work "-c")) | ||
577 | shell-command-prompt-show-cwd t | ||
578 | shell-command-default-error-buffer "*shell-command-errors*")) | ||
579 | |||
572 | (setup shr | 580 | (setup shr |
573 | (:option shr-width fill-column | 581 | (:option shr-width fill-column |
574 | shr-max-width fill-column | 582 | shr-max-width fill-column |