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
|
|
@ -142,7 +142,7 @@ rm -f ~/.zcompdump; compinit
|
|||
If you want to make use of the `fzf`-powered browse feature to fuzzy search through all your warp points, set up a keybind in your `.zshrc`:
|
||||
|
||||
```zsh
|
||||
bindkey '^G' wd_browse
|
||||
bindkey ${FZF_WD_BINDKEY:-'^B'} fuzzy_wd_widget
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
|
@ -158,6 +158,19 @@ If a warp point with the same name exists, use `wd add foo --force` to overwrite
|
|||
**Note:** a warp point cannot contain colons, or consist of only spaces and dots.
|
||||
The first will conflict in how `wd` stores the warp points, and the second will conflict with other features, as below.
|
||||
|
||||
* Add warp point to any directory with default name:
|
||||
|
||||
```zsh
|
||||
wd addcd /foo/ bar
|
||||
```
|
||||
|
||||
* Add warp point to any directory with a custom name:
|
||||
|
||||
```zsh
|
||||
wd addcd /foo/
|
||||
```
|
||||
|
||||
|
||||
You can omit point name to automatically use the current directory's name instead.
|
||||
|
||||
* From any directory, warp to `foo` with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue