aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/.config/emacs/init.el.org7
-rw-r--r--macos.local/flake/home/scripts/core.nix.org4
2 files changed, 6 insertions, 5 deletions
diff --git a/common/.config/emacs/init.el.org b/common/.config/emacs/init.el.org
index 302c2f8..5f396b6 100644
--- a/common/.config/emacs/init.el.org
+++ b/common/.config/emacs/init.el.org
@@ -317,8 +317,13 @@ Install and configure =eat= as a terminal emulator in Emacs.
(defun jj/eshell-quit-or-delete-char (arg)
(interactive "p")
(if (and (eolp) (looking-back eshell-prompt-regexp))
- (eshell-life-is-too-much)
+ (eshell-life-is-too-much)
(delete-forward-char arg)))
+ (defun eshell/manage-configs (arg)
+ (let ((dir (eshell/pwd)))
+ (eshell/cd "~/.dotfiles")
+ (compile (concat "make " arg))
+ (eshell/cd dir)))
:config
(eat-eshell-mode)
(setq eshell-visual-commands '())
diff --git a/macos.local/flake/home/scripts/core.nix.org b/macos.local/flake/home/scripts/core.nix.org
index 47bad2b..51c637f 100644
--- a/macos.local/flake/home/scripts/core.nix.org
+++ b/macos.local/flake/home/scripts/core.nix.org
@@ -18,10 +18,6 @@ Import various scripts useful on my system.
executable = true;
source = ./remove-quarantine;
};
- "./.local/bin/manage-system" = {
- executable = true;
- source = ./manage-system;
- };
"./.local/bin/yt-to-rss" = {
executable = true;
source = ./yt-to-rss;