emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/crux ba4b05c 021/112: Support tcsh, fish and ksh for crux-


From: ELPA Syncer
Subject: [nongnu] elpa/crux ba4b05c 021/112: Support tcsh, fish and ksh for crux-find-shell-init-file
Date: Wed, 11 Aug 2021 09:57:46 -0400 (EDT)

branch: elpa/crux
commit ba4b05c3b55e9b9f86b273f27f6443be53f52826
Author: Jiege Chen <jiegec@qq.com>
Commit: Jiege Chen <jiegec@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

[Prev in Thread] Current Thread [Next in Thread]