system: Add skeleton '.zlogin'.

* gnu/system/shadow.scm (default-skeletons): Add .zlogin.
This commit is contained in:
宋文武 2014-12-05 21:17:49 +08:00
parent 4e2a21d3d2
commit 02f707c590

View file

@ -122,6 +122,9 @@ (define copy-guile-wm
PS1='\\u@\\h \\w\\$ ' PS1='\\u@\\h \\w\\$ '
alias ls='ls -p --color' alias ls='ls -p --color'
alias ll='ls -l'\n")) 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 (guile-wm (gexp->derivation "guile-wm" copy-guile-wm
#:modules #:modules
'((guix build utils)))) '((guix build utils))))
@ -133,6 +136,7 @@ (define copy-guile-wm
set debug-file-directory ~/.guix-profile/lib/debug\n"))) set debug-file-directory ~/.guix-profile/lib/debug\n")))
(return `((".bash_profile" ,profile) (return `((".bash_profile" ,profile)
(".bashrc" ,bashrc) (".bashrc" ,bashrc)
(".zlogin" ,zlogin)
(".Xdefaults" ,xdefaults) (".Xdefaults" ,xdefaults)
(".guile-wm" ,guile-wm) (".guile-wm" ,guile-wm)
(".gdbinit" ,gdbinit))))) (".gdbinit" ,gdbinit)))))