From b723dc961ca6e966baeaaa1a1f73093d05f7a531 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Mon, 24 Feb 2025 22:29:57 -0800 Subject: [PATCH] Fix mozc in remove files --- init.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/init.el b/init.el index 2f48edc..f42ba44 100644 --- a/init.el +++ b/init.el @@ -575,7 +575,8 @@ printed representation (via `princ') set as the new value for the key." "Toggle mozc for all buffers. With NO-EWW, don't update eww's state." (interactive) - (let ((default-input-method "japanese-mozc")) + (let ((default-input-method "japanese-mozc") + (default-directory "~")) (toggle-input-method nil t) (let ((activate (or (bound-and-true-p evil-input-method) current-input-method))) @@ -2568,8 +2569,9 @@ Actually, return the method name." (setq eat-term-name #'my/-eat-choose-good-term) (defun my/-eat-shell-for-cwd () "Return a good shell for CWD, or nil if the default shell should be used." - (when (my/dir-really-remote-p) - "/bin/sh")) + (cond + ((my/dir-container-p) "/bin/sh") ;; idk why zsh dosen't work + ((my/dir-really-remote-p) "/bin/sh"))) (defun my/project-eat (&optional arg prompt) "Switch to or create a eat buffer in the current projects root." (interactive (list current-prefix-arg t))