Fix mozc in remove files
This commit is contained in:
		
							
								
								
									
										8
									
								
								init.el
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								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))
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user