diff options
| author | Chris Marusich <cmmarusich@gmail.com> | 2018-10-13 22:50:36 -0700 |
|---|---|---|
| committer | Chris Marusich <cmmarusich@gmail.com> | 2018-10-19 00:45:20 -0700 |
| commit | 2f4d43584cb26315c028dfbd2197da0d175933a2 (patch) | |
| tree | ffd6eb887505083c47b08d3335c14d06560c31c1 /gnu/system | |
| parent | 7d1f21c69aa89e4c7c57ace26af80d168157b243 (diff) | |
system: Rename .zlogin to .zprofile.
Reported by Meiyo Peng <meiyo.peng@gmail.com>.
* gnu/system/shadow.scm (default-skeletons): Rename zlogin to zprofile.
Diffstat (limited to 'gnu/system')
| -rw-r--r-- | gnu/system/shadow.scm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm index f800c3b5465..63f544cec9c 100644 --- a/gnu/system/shadow.scm +++ b/gnu/system/shadow.scm | |||
| @@ -181,7 +181,7 @@ fi | |||
| 181 | alias ls='ls -p --color=auto' | 181 | alias ls='ls -p --color=auto' |
| 182 | alias ll='ls -l' | 182 | alias ll='ls -l' |
| 183 | alias grep='grep --color=auto'\n")) | 183 | alias grep='grep --color=auto'\n")) |
| 184 | (zlogin (plain-file "zlogin" "\ | 184 | (zprofile (plain-file "zprofile" "\ |
| 185 | # Honor system-wide environment variables | 185 | # Honor system-wide environment variables |
| 186 | source /etc/profile\n")) | 186 | source /etc/profile\n")) |
| 187 | (guile-wm (computed-file "guile-wm" copy-guile-wm)) | 187 | (guile-wm (computed-file "guile-wm" copy-guile-wm)) |
| @@ -197,7 +197,10 @@ set debug-file-directory ~/.guix-profile/lib/debug | |||
| 197 | set auto-load safe-path /gnu/store/*/lib\n"))) | 197 | set auto-load safe-path /gnu/store/*/lib\n"))) |
| 198 | `((".bash_profile" ,profile) | 198 | `((".bash_profile" ,profile) |
| 199 | (".bashrc" ,bashrc) | 199 | (".bashrc" ,bashrc) |
| 200 | (".zlogin" ,zlogin) | 200 | ;; Zsh sources ~/.zprofile before ~/.zshrc, and it sources ~/.zlogin |
| 201 | ;; after ~/.zshrc. To avoid interfering with any customizations a user | ||
| 202 | ;; may have made in their ~/.zshrc, put this in .zprofile, not .zlogin. | ||
| 203 | (".zprofile" ,zprofile) | ||
| 201 | (".nanorc" ,(plain-file "nanorc" "\ | 204 | (".nanorc" ,(plain-file "nanorc" "\ |
| 202 | # Include all the syntax highlighting modules. | 205 | # Include all the syntax highlighting modules. |
| 203 | include /run/current-system/profile/share/nano/*.nanorc\n")) | 206 | include /run/current-system/profile/share/nano/*.nanorc\n")) |
