mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-15 04:39:50 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user