Add warning to _slides if not installed

This commit is contained in:
Sage Vaillancourt 2024-01-25 20:33:53 -05:00
parent 1915b9bdbf
commit 8edc202815
1 changed files with 1 additions and 1 deletions

View File

@ -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"