gnu: fish: Add support for guix home profile.

* gnu/packages/shells.scm (fish)[arguments]<#:phases>
{patch-fish-extra-paths}: Add `~/.guix-home/profile' to `__guix_profile_paths'.

Change-Id: If896cfc4f948d86c52073235a6f4a2c1d085e7a6
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Luis Guilherme Coelho 2025-03-06 21:18:04 -03:00 committed by Ludovic Courtès
parent b25af7d813
commit c3dd3b8465
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -223,10 +223,10 @@ direct descendant of NetBSD's Almquist Shell (@command{ash}).")
(string-append
"\n\n"
"# Patched by Guix.\n"
"# Enable completions, functions and configurations in user's"
" and system's guix profiles by adding them to __extra_*"
"# Enable completions, functions and configurations in user's,"
" home's and system's guix profiles by adding them to __extra_*"
" variables.\n"
"set -l __guix_profile_paths ~/.guix-profile"
"set -l __guix_profile_paths ~/.guix-profile ~/.guix-home/profile"
" /run/current-system/profile\n"
"set __extra_completionsdir"
" $__guix_profile_paths\"/etc/fish/completions\""