aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/bash/bashrc
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2024-05-24 12:22:12 +0800
committeremmett1 <emmett1.2miligrams@protonmail.com>2024-05-24 12:22:12 +0800
commit46ca440e9d6cc606d9c3233021e32d24b25172cf (patch)
treeeeb573e47ac56498fbf74bda6d22fac47038ecab /repos/extra/bash/bashrc
parent8c2e7bb570c11a51fdcecf7302af4058757d862c (diff)
downloadalicelinux-46ca440e9d6cc606d9c3233021e32d24b25172cf.tar.gz
alicelinux-46ca440e9d6cc606d9c3233021e32d24b25172cf.zip
added repos
Diffstat (limited to 'repos/extra/bash/bashrc')
-rwxr-xr-xrepos/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 100755
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