From 3e936bdfca026a96e0ebb32ff69bf1412d6d213f Mon Sep 17 00:00:00 2001 From: Andre Ramnitz Date: Mon, 24 Mar 2025 18:53:52 +0100 Subject: [PATCH] bash: don't rely on hardcoded paths (WIP) --- dot-bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dot-bashrc b/dot-bashrc index 5955106e..60774959 100644 --- a/dot-bashrc +++ b/dot-bashrc @@ -96,7 +96,7 @@ case $(tty) in test -e /usr/bin/fastfetch && command fastfetch -c "$HOME/.config/fastfetch/default.jsonc" || true ;; /dev/pts/[0-9]*) - test -e ~/.local/bin/base16-flavours && ~/.local/bin/base16-flavours || true + command -v base16-flavours > /dev/null 2>&1 && ~/.local/bin/base16-flavours || true clear test -e /usr/bin/fastfetch && command fastfetch -c "$HOME/.config/fastfetch/default.jsonc" || true ;; -- 2.51.2