Fix mozc in remove files

This commit is contained in:
Alexander Rosenberg 2025-02-24 22:29:57 -08:00
parent 3883a90da3
commit b723dc961c
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -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))