diff options
author | Mazin AlHaddad <codeberg@getstate.dev> | 2025-06-08 04:07:22 +0300 |
---|---|---|
committer | Hilton Chain <hako@ultrarare.space> | 2025-06-12 20:17:49 +0800 |
commit | 1a09cd18820b91c9ddb30c08a8eecbe72a9e84b5 (patch) | |
tree | 39ab842a1aa6a0abda03ab911acfdcbbfa5aec72 | |
parent | efbd55d6fa2fb32f311054a17df3929efe05f0fe (diff) |
system: Adjust return value of bashrc.
Fixes a regression introduced in c743d646ee9104aa14d066cdf6657a0fac82ebea.
Without this, the fish shell integration is broken, and PATH does not include
~/.config/guix/current/bin.
* gnu/system/shadow.scm (%default-bashrc): Fix return value.
Change-Id: I54170caeef7ae541a4901743fcdcbfb353fa09d4
Signed-off-by: Hilton Chain <hako@ultrarare.space>
Modified-by: Hilton Chain <hako@ultrarare.space>
-rw-r--r-- | gnu/system/shadow.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm index 6443fd9922..792d2fb7ae 100644 --- a/gnu/system/shadow.scm +++ b/gnu/system/shadow.scm @@ -164,8 +164,8 @@ then # /etc/profile so we get PATH and other essential variables. [[ -n \"$SSH_CLIENT\" ]] && source /etc/profile - # Don't do anything else. - return + # Don't do anything else, returning a successful return code. + return 0 fi for i in /etc/bashrc.d/*.sh; do |