3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

home: shells: Rename zsh related functions.

* gnu/home/services/shells.scm (home-zsh-service-type): Make zsh related
private functions more consistently named.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Andrew Tropin 2022-03-29 11:15:56 +03:00 committed by Ludovic Courtès
parent 72abf9b9b8
commit ac8e987ce2
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -222,7 +222,7 @@ source ~/.profile
,@(if (zsh-field-not-empty? config 'zlogout)
`((".zlogout" ,(zsh-file-by-field config 'zlogout))) '())))
(define (zsh-home-files config)
(define (add-zsh-dot-configuration config)
(define zshenv-auxiliary-file
(mixed-text-file
"zshenv-auxiliary"
@ -233,7 +233,7 @@ source ~/.profile
`((".zshenv" ,zshenv-auxiliary-file))
(zsh-get-configuration-files config)))
(define (zsh-xdg-configuration-files config)
(define (add-zsh-xdg-configuration config)
(if (home-zsh-configuration-xdg-flavor? config)
(map
(lambda (lst)
@ -298,10 +298,10 @@ source ~/.profile
(extensions
(list (service-extension
home-files-service-type
zsh-home-files)
add-zsh-dot-configuration)
(service-extension
home-xdg-configuration-files-service-type
zsh-xdg-configuration-files)
add-zsh-xdg-configuration)
(service-extension
home-profile-service-type
add-zsh-packages)))