Merge pull request #785 from deathbeam/patch-1

Recognize fasd when sourced
pull/787/head
Nils Winkler 2016-09-07 10:34:56 +02:00 committed by GitHub
commit 569a7a902e
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ cite about-plugin
about-plugin 'initialize fasd (see https://github.com/clvv/fasd)'
__init_fasd() {
which fasd &> /dev/null
command -v fasd &> /dev/null
if [ $? -eq 1 ]; then
echo -e "You must install fasd before you can use this plugin"
echo -e "See: https://github.com/clvv/fasd"