branch: elpa/crux
commit 3c14b4ac6802af63c6b3ea01f35e756d465b4b29
Merge: e2124c8 ba4b05c
Author: Bozhidar Batsov <bozhidar.bat...@gmail.com>
Commit: Bozhidar Batsov <bozhidar.bat...@gmail.com>

    Merge pull request #13 from jiegec/master
    
    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 9614c39..7dee0e6 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