diff options
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/ec | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/.local/bin/ec b/.local/bin/ec index b0b0374..4efe2da 100755 --- a/.local/bin/ec +++ b/.local/bin/ec @@ -1,15 +1,9 @@ -#!/bin/sh +#!/bin/env -S emacs -Q -nw -l -emacs -Q -nw --eval=" -(progn - (menu-bar-mode -1) +(menu-bar-mode -1) - (setq select-enable-primary t - help-window-select t) +(setq select-enable-primary t + help-window-select t) - (full-calc) - (keymap-set calc-mode-map \"q\" #'kill-emacs) - - (define-advice calc-full-help (:after nil) - (switch-to-buffer-other-window \"*Help*\") - (message \"Press ‘q’ to go back to calc\")))" +(full-calc) +(keymap-set calc-mode-map "q" #'kill-emacs) |