From 4391862cd546364b98b0a00b5e72358092bc3ec8 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 14 Aug 2023 01:01:07 +0200 Subject: ec: Add the ‘ec’ script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .local/bin/ec | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 .local/bin/ec (limited to '.local/bin/ec') 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\")))" -- cgit v1.2.3