system: Default .bashrc now sources /etc/bashrc.

This is a followup to commit 1382bde93c,
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.
This commit is contained in:
Ludovic Courtès 2018-06-11 18:00:17 +02:00
parent b63f6c0192
commit b19950a184
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -168,6 +168,9 @@ (define copy-guile-wm
return return
fi fi
# Source the system-wide file.
source /etc/bashrc
# Adjust the prompt depending on whether we're in 'guix environment'. # Adjust the prompt depending on whether we're in 'guix environment'.
if [ -n \"$GUIX_ENVIRONMENT\" ] if [ -n \"$GUIX_ENVIRONMENT\" ]
then then