From 91b2f861d4a72503bbaeb0eaf3ed3014af99f618 Mon Sep 17 00:00:00 2001 From: Marc Date: Sun, 17 Jan 2021 08:47:28 +0100 Subject: [PATCH] small fixes for package installed fava and kitty as terminal --- user-global/elisp/beancount.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/user-global/elisp/beancount.el b/user-global/elisp/beancount.el index 0d4c4c9..39fc28b 100644 --- a/user-global/elisp/beancount.el +++ b/user-global/elisp/beancount.el @@ -383,10 +383,10 @@ Leave point at the beginning of the thing under point.") (defvar beancount-filename-main buffer-file-name "File name of the main beancount file for beancount-check.") -(defvar beancount-terminal-name "alacritty" +(defvar beancount-terminal-name "kitty" "Name of the terminal emulator to run fava.") -(defvar beancount-fava-exec "/usr/bin/fava" +(defvar beancount-fava-exec "/bin/fava" "Full path of fava executable.") (defvar beancount-install-dir nil @@ -424,10 +424,9 @@ Only useful if you have not installed Beancount properly in your PATH") (defun beancount-fava () "Run `beancount-fava' and open the URL in the default browser." (interactive) - (start-process "termx" nil beancount-terminal-name "-e " beancount-fava-exec beancount-filename-main) + (start-process "termx" nil beancount-terminal-name "-e" beancount-fava-exec beancount-filename-main) (sleep-for 0.5) ; necessary to prevent an error (browse-url "127.0.0.1:5000")) - ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Completions