guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/05: home: shells: Rename zsh related functions.


From: guix-commits
Subject: 01/05: home: shells: Rename zsh related functions.
Date: Sun, 10 Apr 2022 18:26:45 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit ac8e987ce2258104ef6d7c51b15d5f974058ca76
Author: Andrew Tropin <andrew@trop.in>
AuthorDate: Tue Mar 29 11:15:56 2022 +0300

    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>
---
 gnu/home/services/shells.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/home/services/shells.scm b/gnu/home/services/shells.scm
index 93837b8504..d96c951cd8 100644
--- a/gnu/home/services/shells.scm
+++ b/gnu/home/services/shells.scm
@@ -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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]