Display error message if plugin dependencies not installed

Fixes #16
This commit is contained in:
Bruno Sutic 2014-08-02 18:46:10 +02:00
parent 5101a6f3c6
commit 77ec500b7c
2 changed files with 3 additions and 2 deletions

View file

@ -5,6 +5,7 @@
- remove screencast from the master branch because it's too large for download.
The screencast is moved to the separate `screencast` branch and can be cloned
from there.
- show error message if plugin dependencies aren't insalled
### v0.0.4, Jul 29, 2014
- update readme to reflect github organization change

View file

@ -27,8 +27,8 @@
local key_bindings="$(yank_key) $(put_key) $(yank_put_key)"
local key
for key in $key_bindings; do
tmux bind-key -t vi-copy "$key" copy-pipe "$CURRENT_DIR/scripts/tmux_yank_error_message.sh"
tmux bind-key -t emacs-copy "$key" copy-pipe "$CURRENT_DIR/scripts/tmux_yank_error_message.sh"
tmux bind-key -t vi-copy "$key" copy-pipe "tmux display-message 'Error! tmux-yank dependencies not installed!'"
tmux bind-key -t emacs-copy "$key" copy-pipe "tmux display-message 'Error! tmux-yank dependencies not installed!'"
done
}