commit 0dfdee109dc2d498843979b4912944b4b51f8212
parent 2543e55a734ff272b4b09c262632245e16848473
Author: hhvn <dev@hhvn.uk>
Date: Sat, 1 May 2021 22:40:57 +0100
.c/k/kshrc: add openbsd scripts to path
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/.config/ksh/kshrc b/.config/ksh/kshrc
@@ -26,6 +26,12 @@ PS4="$(tput setaf 7):; $(tput sgr0)"
export PS1 PS2 PS3 PS4
export PATH="$PATH:$HOME/.scripts/bin"
+
+[ "$(uname)" = "OpenBSD" ] && {
+ export PATH="$PATH:$HOME/.scripts/openbsd-compat"
+ . $HOME/.scripts/openbsd-compat/aliases
+}
+
for f in $HOME/.config/ksh/*
do
[ "$(basename "$f")" != "kshrc" ] && . $f