mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
home: services: zsh: Use unified zprofile.
* gnu/home/services/shells.scm (zsh-file-zprofile): Use the zprofile defined in (gnu system shadow) as a base. Change-Id: Iaf4c4f66d1ccbc0bd0166136b3d082229bdec201
This commit is contained in:
parent
5ef5095ab1
commit
0f967dde76
1 changed files with 2 additions and 6 deletions
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
(define-module (gnu home services shells)
|
(define-module (gnu home services shells)
|
||||||
#:use-module (gnu services configuration)
|
#:use-module (gnu services configuration)
|
||||||
#:autoload (gnu system shadow) (%default-bashrc)
|
#:autoload (gnu system shadow) (%default-bashrc %default-zprofile)
|
||||||
#:use-module (gnu home services utils)
|
#:use-module (gnu home services utils)
|
||||||
#:use-module (gnu home services)
|
#:use-module (gnu home services)
|
||||||
#:use-module (gnu packages shells)
|
#:use-module (gnu packages shells)
|
||||||
|
@ -189,12 +189,8 @@ (define (zsh-file-zshenv config)
|
||||||
(define (zsh-file-zprofile config)
|
(define (zsh-file-zprofile config)
|
||||||
(mixed-text-file
|
(mixed-text-file
|
||||||
"zprofile"
|
"zprofile"
|
||||||
|
(plain-file-content %default-zprofile)
|
||||||
"\
|
"\
|
||||||
# Set up the system, user profile, and related variables.
|
|
||||||
source /etc/profile
|
|
||||||
# Set up the home environment profile.
|
|
||||||
source ~/.profile
|
|
||||||
|
|
||||||
# It's only necessary if zsh is a login shell, otherwise profiles will
|
# It's only necessary if zsh is a login shell, otherwise profiles will
|
||||||
# be already sourced by bash
|
# be already sourced by bash
|
||||||
"
|
"
|
||||||
|
|
Loading…
Reference in a new issue