From 46ca440e9d6cc606d9c3233021e32d24b25172cf Mon Sep 17 00:00:00 2001 From: emmett1 Date: Fri, 24 May 2024 12:22:12 +0800 Subject: added repos --- repos/extra/bash/bashrc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 repos/extra/bash/bashrc (limited to 'repos/extra/bash/bashrc') 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 -- cgit v1.2.3