summaryrefslogtreecommitdiff
path: root/gnu/system/shadow.scm
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2014-12-05 21:17:49 +0800
committer宋文武 <iyzsong@gmail.com>2014-12-09 18:52:11 +0800
commit02f707c590fa3c5bbd74168468bf561b47317f71 (patch)
tree417a38a2e98abe290f07a238f4ffcd53155edc18 /gnu/system/shadow.scm
parent4e2a21d3d2d72146059ad58b4832317990d37b24 (diff)
downloadguix-patches-02f707c590fa3c5bbd74168468bf561b47317f71.tar
guix-patches-02f707c590fa3c5bbd74168468bf561b47317f71.tar.gz
system: Add skeleton '.zlogin'.
* gnu/system/shadow.scm (default-skeletons): Add .zlogin.
Diffstat (limited to 'gnu/system/shadow.scm')
-rw-r--r--gnu/system/shadow.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm
index 4a2322bf69..b4ba0060bd 100644
--- a/gnu/system/shadow.scm
+++ b/gnu/system/shadow.scm
@@ -122,6 +122,9 @@ if [ -f ~/.bashrc ]; then . ~/.bashrc; fi\n"))
PS1='\\u@\\h \\w\\$ '
alias ls='ls -p --color'
alias ll='ls -l'\n"))
+ (zlogin (text-file "zlogin" "\
+# Honor system-wide environment variables
+source /etc/profile\n"))
(guile-wm (gexp->derivation "guile-wm" copy-guile-wm
#:modules
'((guix build utils))))
@@ -133,6 +136,7 @@ XTerm*metaSendsEscape: true\n"))
set debug-file-directory ~/.guix-profile/lib/debug\n")))
(return `((".bash_profile" ,profile)
(".bashrc" ,bashrc)
+ (".zlogin" ,zlogin)
(".Xdefaults" ,xdefaults)
(".guile-wm" ,guile-wm)
(".gdbinit" ,gdbinit)))))