diff options
Diffstat (limited to 'terminal-here.el')
| -rw-r--r-- | terminal-here.el | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/terminal-here.el b/terminal-here.el index d83b4fb..236734d 100644 --- a/terminal-here.el +++ b/terminal-here.el @@ -30,6 +30,13 @@ :group 'external :prefix "terminal-here-") +(defcustom terminal-here-terminal-emulators + '("x-terminal-emulator" "sl" "urxvt" "gnome-terminal" + "xfce4-terminal" "konsole" "xterm") + "List of terminal emulators." + :group 'terminal-here + :type 'list) + (defun terminal-here-find-executable (variants) (file-name-nondirectory (cl-some (lambda (executable) @@ -47,8 +54,7 @@ (list "cmd.exe" "/C" "start" "cmd.exe")) ;; Probably X11! - (t '("x-terminal-emulator")))) - + (t (list (terminal-here-find-executable terminal-here-terminal-emulators))))) (defcustom terminal-here-terminal-command #'terminal-here-default-terminal-command |
