branch: elpa/crux
commit ba4b05c3b55e9b9f86b273f27f6443be53f52826
Author: Jiege Chen <jie...@qq.com>
Commit: Jiege Chen <jie...@qq.com>

    Support tcsh, fish and ksh for crux-find-shell-init-file
---
 crux.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/crux.el b/crux.el
index 08027f5..f298d3d 100644
--- a/crux.el
+++ b/crux.el
@@ -350,6 +350,9 @@ Doesn't mess with special buffers."
          (shell-init-file (cond
                            ((string= "zsh" shell) ".zshrc")
                            ((string= "bash" shell) ".bashrc")
+                           ((string= "tcsh" shell) ".login")
+                           ((string= "fish" shell) ".config/fish/config.fish")
+                           ((string-prefix-p "ksh" shell) ".profile")
                            (t (error "Unknown shell")))))
     (find-file-other-window (expand-file-name shell-init-file (getenv 
"HOME")))))
 

Reply via email to