[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: system: Default .bashrc now sources /etc/bashrc.
From: |
Ludovic Courtès |
Subject: |
02/02: system: Default .bashrc now sources /etc/bashrc. |
Date: |
Mon, 11 Jun 2018 12:23:39 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit b19950a184a9b7506f9be4ecaa043e5a7e460b52
Author: Ludovic Courtès <address@hidden>
Date: Mon Jun 11 18:00:17 2018 +0200
system: Default .bashrc now sources /etc/bashrc.
This is a followup to commit 1382bde93c3ccb5be6b846b932edd7707fac1a3e,
which disabled automatic sourcing of /etc/bashrc by interactive shell.
The noticeable effect of the change would be that Bash completion would
only work in login shells.
* gnu/system/shadow.scm (default-skeletons)["bashrc"]: Source
/etc/bashrc.
---
gnu/system/shadow.scm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm
index ef5b8da..28d399f 100644
--- a/gnu/system/shadow.scm
+++ b/gnu/system/shadow.scm
@@ -168,6 +168,9 @@ then
return
fi
+# Source the system-wide file.
+source /etc/bashrc
+
# Adjust the prompt depending on whether we're in 'guix environment'.
if [ -n \"$GUIX_ENVIRONMENT\" ]
then