mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01: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:
parent
04b66b2308
commit
f6b3fc84d1
5 changed files with 95 additions and 22 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue