system: Rename .zlogin to .zprofile.

Reported by Meiyo Peng <meiyo.peng@gmail.com>.

* gnu/system/shadow.scm (default-skeletons): Rename zlogin to zprofile.
This commit is contained in:
Chris Marusich 2018-10-13 22:50:36 -07:00
parent 7d1f21c69a
commit 2f4d43584c
No known key found for this signature in database
GPG Key ID: DD409A15D822469D
1 changed files with 5 additions and 2 deletions

View File

@ -181,7 +181,7 @@ fi
alias ls='ls -p --color=auto' alias ls='ls -p --color=auto'
alias ll='ls -l' alias ll='ls -l'
alias grep='grep --color=auto'\n")) alias grep='grep --color=auto'\n"))
(zlogin (plain-file "zlogin" "\ (zprofile (plain-file "zprofile" "\
# Honor system-wide environment variables # Honor system-wide environment variables
source /etc/profile\n")) source /etc/profile\n"))
(guile-wm (computed-file "guile-wm" copy-guile-wm)) (guile-wm (computed-file "guile-wm" copy-guile-wm))
@ -197,7 +197,10 @@ set debug-file-directory ~/.guix-profile/lib/debug
set auto-load safe-path /gnu/store/*/lib\n"))) set auto-load safe-path /gnu/store/*/lib\n")))
`((".bash_profile" ,profile) `((".bash_profile" ,profile)
(".bashrc" ,bashrc) (".bashrc" ,bashrc)
(".zlogin" ,zlogin) ;; Zsh sources ~/.zprofile before ~/.zshrc, and it sources ~/.zlogin
;; after ~/.zshrc. To avoid interfering with any customizations a user
;; may have made in their ~/.zshrc, put this in .zprofile, not .zlogin.
(".zprofile" ,zprofile)
(".nanorc" ,(plain-file "nanorc" "\ (".nanorc" ,(plain-file "nanorc" "\
# Include all the syntax highlighting modules. # Include all the syntax highlighting modules.
include /run/current-system/profile/share/nano/*.nanorc\n")) include /run/current-system/profile/share/nano/*.nanorc\n"))