aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/bash/bashrc
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2025-04-10 07:26:30 +0800
committeremmett1 <emmett1.2miligrams@protonmail.com>2025-04-10 07:26:30 +0800
commita64930636462bf24118ca7266f699ce2b696e821 (patch)
tree58d116ac5f03aa9e84ece6e4ffa6b489573042a4 /repos/extra/bash/bashrc
parentddd8e1a8fab2ac39396282a7c09ddf6eca219613 (diff)
downloadalicelinux-a64930636462bf24118ca7266f699ce2b696e821.tar.gz
alicelinux-a64930636462bf24118ca7266f699ce2b696e821.zip
clang branch updated
Diffstat (limited to 'repos/extra/bash/bashrc')
-rw-r--r--repos/extra/bash/bashrc11
1 files changed, 11 insertions, 0 deletions
diff --git a/repos/extra/bash/bashrc b/repos/extra/bash/bashrc
new file mode 100644
index 00000000..3da30286
--- /dev/null
+++ b/repos/extra/bash/bashrc
@@ -0,0 +1,11 @@
+# /etc/bashrc
+
+alias ls='ls --color=auto'
+alias grep='grep --color=auto'
+
+if [ -d /etc/bashrc.d/ ]; then
+ for f in /etc/bashrc.d/*.sh; do
+ [ -r "$f" ] && . "$f"
+ done
+ unset f
+fi