mirror of
https://github.com/jorgebucaran/fisher
synced 2024-11-09 07:10:27 +00:00
ebf1de50a1
Notable changes: + Now fisher list does not show plugins that are disabled, but available in the cache. To preview these items use fisher list --disabled. + Welcome aboard @orangecms and @xrain0610. + Fisherman is now available in AUR, thanks @orangecms. + Fix load order during installation. Now snippets can safely invoke functions defined in the plugin function directory. Thanks @orangecms. #170. + Fisherman **installs and updates plugins ⌁concurrently**. Performance may vary, but if you can see 5 to 10 times faster network times, it's working well.
20 lines
563 B
Fish
20 lines
563 B
Fish
function __fisher_key_bindings_enable -a plugin user_key_bindings
|
|
__fisher_key_bindings_update $plugin >> $fisher_binds
|
|
|
|
if test ! -s $user_key_bindings
|
|
command mkdir -p (dirname $user_key_bindings)
|
|
|
|
printf "%s\n" \
|
|
"function fish_user_key_bindings" \
|
|
" __fisher_key_bindings" \
|
|
"end" > $user_key_bindings
|
|
|
|
source $user_key_bindings
|
|
end
|
|
|
|
debug "binds %s" "$user_key_bindings"
|
|
|
|
functions fish_user_key_bindings \
|
|
| __fisher_key_bindings_update_user > $user_key_bindings
|
|
end
|