summaryrefslogtreecommitdiff
path: root/config/bash/bashrc
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2024-08-10 15:40:48 +0400
committerSuleyman Farajli <suleyman@farajli.net>2024-08-10 15:40:48 +0400
commit53746f5a3e10bc5e1603daee0e75f13531568457 (patch)
tree0b8246228a15bfe15b3db0692011c7de7d3b5947 /config/bash/bashrc
parent6f73838b912b00f3ad620a3cd73b8506d018c6e8 (diff)
functionrc for shells added
Diffstat (limited to 'config/bash/bashrc')
-rw-r--r--config/bash/bashrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/bash/bashrc b/config/bash/bashrc
index 2692a4b..ca2435d 100644
--- a/config/bash/bashrc
+++ b/config/bash/bashrc
@@ -12,3 +12,7 @@ PS1='\e[01;31m$(code=${?##0};echo ${code:+[${code}]" "})\e[00m\u@\H \w % '
if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc" ];then
source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc"
fi
+
+if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/functionrc" ];then
+ source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/functionrc"
+fi