summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander I.Grafov (Axel) <grafov@gmail.com>2015-03-11 15:17:24 +0300
committerLudovic Courtès <ludo@gnu.org>2015-03-12 22:52:18 +0100
commitcd9bc11273d11765db2c7431191c08d7ac969c7a (patch)
tree132f6bec1086689ec995b88fbc07552bb3cd9190
parent70408ccbe692f53644885054540f8c8fa8437169 (diff)
system: Add fish, tcsh, and zsh to /etc/shells.
* gnu/system.scm (etc-directory)[shells]: Add fish, tcsh, and zsh file names to /etc/shells. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/system.scm10
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/system.scm b/gnu/system.scm
index 9748113070..c43a8ede5c 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -415,11 +415,17 @@ settings for 'guix.el' to work out-of-the-box."
((pam.d (pam-services->directory pam-services))
(sudoers (text-file "sudoers" sudoers))
(login.defs (text-file "login.defs" "# Empty for now.\n"))
- (shells (text-file "shells" ; used by xterm and others
+
+ ;; /etc/shells is used by xterm and other programs. We don't check
+ ;; whether these shells are installed, should be OK.
+ (shells (text-file "shells"
"\
/bin/sh
/run/current-system/profile/bin/sh
-/run/current-system/profile/bin/bash\n"))
+/run/current-system/profile/bin/bash
+/run/current-system/profile/bin/fish
+/run/current-system/profile/bin/tcsh
+/run/current-system/profile/bin/zsh\n"))
(emacs (emacs-site-directory))
(issue (text-file "issue" issue))
(nsswitch (text-file "nsswitch.conf"