diff options
| author | Brad Clawsie <brad@b7j0c.org> | 2026-10-29 03:32:57 -0500 |
|---|---|---|
| committer | Brad Clawsie <brad@b7j0c.org> | 2026-10-29 03:32:57 -0500 |
| commit | 6232f8cc04c5ebd60e2b8fdb74c9a151881ebaa5 (patch) | |
| tree | a7b2e4c41e8bef41b2fc663accb63f7ef2e1ab08 /fish/config.fish | |
| parent | 149122db8cb7aa530b3bdbd3bb4070f16f2d6166 (diff) | |
emacs
Diffstat (limited to 'fish/config.fish')
| -rw-r--r-- | fish/config.fish | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/fish/config.fish b/fish/config.fish index 4c0f85e..3507a20 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -9,9 +9,9 @@ if status is-interactive set -gx HISTSIZE 10000 set -gx SAVEHIST 10000 - set -gx EDITOR emacs + set -gx EDITOR emacsclient set -gx ALTERNATE_EDITOR nano - set -gx VISUAL emacs + set -gx VISUAL emacsclient keychain --eval --agents ssh id_ed25519 | source @@ -38,6 +38,10 @@ if test -d $HOME/go/bin fish_add_path -p $HOME/go/bin end +if not pgrep -x "emacs" > /dev/null + emacs --daemon +end + if test -f $HOME/.config/fish/env.fish source $HOME/.config/fish/env.fish end |
