aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjjanzen <jjanzen@jjanzen.ca>2025-03-13 18:17:56 -0500
committerjjanzen <jjanzen@jjanzen.ca>2025-03-13 18:17:56 -0500
commit5771ae4219f5315ac6db51eaac6da7c7caab02d2 (patch)
tree6f2cab19306b6bec2fef9078453a4bb8cce5f7e3
parent58349eb35f346806b39bf40837d430c1bce33a0f (diff)
system changes
-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;