summaryrefslogtreecommitdiff
path: root/gnu/system/shadow.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2025-05-06 15:59:01 +0900
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2025-05-26 13:43:03 +0900
commit2345e87c35d476bc5624ccf4d8bc9e2e25fc856f (patch)
tree07a1e65a5fb392f4f1c19a1449cb32cb1f4f38a2 /gnu/system/shadow.scm
parent279adf431bbdb41921e6a72d401a7c55f3bc1947 (diff)
gnu: bash: Define the SYS_BASHRC macro.
This causes Bash to treat /etc/bashrc as a startup file, removing the need to source /etc/bashrc from ~/.bashrc. * gnu/packages/bash.scm (bash-fixed): New package, with added SYS_BASHRC define. (bash) [replacement]: Use it. * gnu/system/shadow.scm (%default-bashrc): Do not source /etc/bashrc, now done implicitly. Change-Id: I5b0afd7d81653ef19c482e5501efdf7e50ef37c0
Diffstat (limited to 'gnu/system/shadow.scm')
-rw-r--r--gnu/system/shadow.scm3
1 files changed, 0 insertions, 3 deletions
diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm
index 7258a57dc6..b9a5a6134b 100644
--- a/gnu/system/shadow.scm
+++ b/gnu/system/shadow.scm
@@ -165,9 +165,6 @@ then
return
fi
-# Source the system-wide file.
-[ -f /etc/bashrc ] && source /etc/bashrc
-
alias ls='ls -p --color=auto'
alias ll='ls -l'
alias grep='grep --color=auto'