Skip to content

Commit

Permalink
Use shell-file-name as shell
Browse files Browse the repository at this point in the history
  • Loading branch information
swsnr committed Oct 13, 2015
1 parent 145a30b commit 53df6cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions shell-pop.el
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
;; custom shell if you use other configuration.

;; For `terminal' and `ansi-term' options, you can set the underlying
;; shell by customizing `shell-pop-term-shell'. By default, `$SHELL'
;; is used, with a fallback to `/bin/bash'.
;; shell by customizing `shell-pop-term-shell'. By default,
;; `shell-file-name' is used.
;;
;; Use M-x customize-group RET shell-pop RET to set further options
;; such as hotkey, window height and position.
Expand Down Expand Up @@ -132,7 +132,7 @@ The value is a list with these items:
:set 'shell-pop--set-shell-type
:group 'shell-pop)

(defcustom shell-pop-term-shell (or (getenv "SHELL") "/bin/bash")
(defcustom shell-pop-term-shell shell-file-name
"Shell used in `term' and `ansi-term'."
:type 'string
:group 'shell-pop)
Expand Down

0 comments on commit 53df6cb

Please sign in to comment.