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"
|
alias pacman="sudo pacman"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
alias _slides="$(which slides)"
|
alias _slides="$(which slides 2> /dev/null || echo "echo 'slides not installed'")"
|
||||||
function slides() {
|
function slides() {
|
||||||
OLD_PATH="$PATH"
|
OLD_PATH="$PATH"
|
||||||
PATH="$HOME/.slides-bin:$PATH"
|
PATH="$HOME/.slides-bin:$PATH"
|
||||||
|
|
Loading…
Reference in New Issue