From 8edc20281527e91d7c020b80f811fbd19cbbbbdd Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Thu, 25 Jan 2024 20:33:53 -0500 Subject: [PATCH] Add warning to _slides if not installed --- fake_home/.shell_aliases | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fake_home/.shell_aliases b/fake_home/.shell_aliases index 2cdc48d..d5f12c5 100755 --- a/fake_home/.shell_aliases +++ b/fake_home/.shell_aliases @@ -8,7 +8,7 @@ else alias pacman="sudo pacman" fi -alias _slides="$(which slides)" +alias _slides="$(which slides 2> /dev/null || echo "echo 'slides not installed'")" function slides() { OLD_PATH="$PATH" PATH="$HOME/.slides-bin:$PATH"