feat(wd): update to version v0.7.0 (#12436)

Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
This commit is contained in:
ohmyzsh[bot] 2024-05-21 20:48:54 +02:00 committed by GitHub
commit f6b3fc84d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 95 additions and 22 deletions

View file

@ -14,7 +14,8 @@
eval "wd() { source '${0:A:h}/wd.sh' }"
wd > /dev/null
# Register the function as a Zsh widget
zle -N wd_browse
# Bind the widget to a key combination
bindkey '^G' wd_browse
zle -N wd_browse_widget
zle -N wd_restore_buffer
autoload -Uz add-zle-hook-widget
add-zle-hook-widget line-init wd_restore_buffer
bindkey ${FZF_WD_BINDKEY:-'^B'} wd_browse_widget