about summary refs log tree commit diff
path: root/configs/shared/emacs/.emacs.d/wpc/packages/wpc-terminal.el
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-01-13T19·33-0500
committerWilliam Carroll <wpcarro@gmail.com>2019-01-13T19·45-0500
commit481df5a3855ccd5ea3bf4d5f41ae780f4773b7b4 (patch)
tree3aeb7e20eaba176536cb8d10ba531ac39674fc4a /configs/shared/emacs/.emacs.d/wpc/packages/wpc-terminal.el
parent18b9930b8604134f087ca61fe94740b31f94327c (diff)
Remove Emacs spam
My inconsistent git history-keeping is coming to bite me here. At the
moment, I can only speculate about what went wrong here. The gist is
this: I unintentionally committed files that were supposed to be ignored

This commit removes those files which includes:

- auto-save-list
- elpa packages
- quelpa packages
- misc
Diffstat (limited to 'configs/shared/emacs/.emacs.d/wpc/packages/wpc-terminal.el')
-rw-r--r--configs/shared/emacs/.emacs.d/wpc/packages/wpc-terminal.el19
1 files changed, 11 insertions, 8 deletions
diff --git a/configs/shared/emacs/.emacs.d/wpc/packages/wpc-terminal.el b/configs/shared/emacs/.emacs.d/wpc/packages/wpc-terminal.el
index 36a24bbb3c46..aa76fde6a16b 100644
--- a/configs/shared/emacs/.emacs.d/wpc/packages/wpc-terminal.el
+++ b/configs/shared/emacs/.emacs.d/wpc/packages/wpc-terminal.el
@@ -3,17 +3,20 @@
 
 ;;; Commentary:
 ;; My attempts at creating a sane Emacs terminal
+;;
+;; This module previously contained more logic, which has since been stripped.
+;;
+;; If the variable `explicit-shell-file-name' is `nil', Emacs will use the value
+;; for the $SHELL environment variable.  When running on NixOS, since binaries
+;; like `zsh' won't be available at `/bin/zsh' or other common places, we need
+;; to ensure that `explicit-shell-file-name' remain `nil'.
+;;
+;; Wish List:
+;; - prevent Emacs from asking: "Run program: /run/current-system/sw/bin/zsh"
 
 ;;; Code:
 
 (setq wpc/terminal-name "wpc/terminal")
 
-;; 256 color support in term (instead of 8)
-(use-package xterm-color)
-
-(use-package term
-  :config
-  (setq explicit-shell-file-name "/bin/zsh"))
-
 (provide 'wpc-terminal)
-;;; terminal.el ends here
+;;; wpc-terminal.el ends here