diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-06-11 18:00:17 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-06-11 18:23:24 +0200 |
commit | b19950a184a9b7506f9be4ecaa043e5a7e460b52 (patch) | |
tree | d7a0c1f885a05282f280ec4dc954bbba5d73e4bc /gnu/system/shadow.scm | |
parent | b63f6c0192cc5cc2f75d2a7dd8ef5371fe8e56b5 (diff) | |
download | guix-b19950a184a9b7506f9be4ecaa043e5a7e460b52.tar.gz |
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.
Diffstat (limited to 'gnu/system/shadow.scm')
-rw-r--r-- | gnu/system/shadow.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm index ef5b8dab92..28d399f2b1 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 |