Add warning to _slides if not installed
This commit is contained in:
parent
1915b9bdbf
commit
8edc202815
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue