diff options
-rwxr-xr-x | .local/bin/ec | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.local/bin/ec b/.local/bin/ec new file mode 100755 index 0000000..b0b0374 --- /dev/null +++ b/.local/bin/ec @@ -0,0 +1,15 @@ +#!/bin/sh + +emacs -Q -nw --eval=" +(progn + (menu-bar-mode -1) + + (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\")))" |