feat(wd): update to c7a72236

This commit is contained in:
ohmyzsh[bot] 2024-05-21 18:44:24 +00:00
commit 3b727bfd49
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