Merge pull request #1606 from cornfeedhobo/fix-fasd

use || to silence exit 1 properly and quote fasd init
pull/1608/head
Nils Winkler 2020-05-20 09:07:37 +02:00 committed by GitHub
commit cd5ebe8278
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
cite about-plugin cite about-plugin
about-plugin 'load fasd, if you are using it' about-plugin 'load fasd, if you are using it'
_command_exists fasd && eval $(fasd --init auto) _command_exists fasd || return
eval "$(fasd --init auto)"