From b7107eb3dab7e22e0500ce92d8757d83af3c0aa1 Mon Sep 17 00:00:00 2001 From: GaspardCulis Date: Wed, 29 Nov 2023 11:46:27 +0100 Subject: [PATCH] bash_exec: Check if jaaj command exists before executing --- shell/bash/.bash_exec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shell/bash/.bash_exec b/shell/bash/.bash_exec index d79f496..319d94c 100644 --- a/shell/bash/.bash_exec +++ b/shell/bash/.bash_exec @@ -1,3 +1,5 @@ #!/usr/bin/bash -jaaj +if command -v jaaj &> /dev/null && command -v lolcat &> /dev/null; then + jaaj +fi