diff options
| author | ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com> | 2024-09-15 08:16:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-15 08:16:50 +0200 |
| commit | f709cd45484ff7a451414fcd53bca8529323512d (patch) | |
| tree | 058f60e31173cd93ee7125bbdce07bcfb748c386 /plugins/wd/README.md | |
| parent | f6cd6a776993b584f4abbdd204c6e4011b7d2f93 (diff) | |
| download | zsh-f709cd45484ff7a451414fcd53bca8529323512d.tar.gz zsh-f709cd45484ff7a451414fcd53bca8529323512d.tar.bz2 zsh-f709cd45484ff7a451414fcd53bca8529323512d.zip | |
feat(wd): update to 7054de2b (#12675)
Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
Diffstat (limited to 'plugins/wd/README.md')
| -rw-r--r-- | plugins/wd/README.md | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/plugins/wd/README.md b/plugins/wd/README.md index bf19031f8..b345d65f5 100644 --- a/plugins/wd/README.md +++ b/plugins/wd/README.md @@ -115,9 +115,11 @@ wd() { 3. Install manpage (optional): +Move manpage into an appropriate directory, then trigger `mandb` to discover it + ```zsh -sudo cp ~/.local/wd/wd.1 /usr/share/man/man1/wd.1 -sudo chmod 644 /usr/share/man/man1/wd.1 +sudo install -m 644 ~/.local/wd/wd.1 /usr/share/man/man1/wd.1 +sudo mandb /usr/share/man/man1 ``` **Note:** when pulling and updating `wd`, you'll need to repeat step 3 should the manpage change @@ -139,10 +141,11 @@ rm -f ~/.zcompdump; compinit ## Browse -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`: +`wd` comes with an `fzf`-powered browse feature to fuzzy search through all your warp points. It's available through the `wd browse` command. For quick access you can set up an alias or keybind in your `.zshrc`: ```zsh -bindkey ${FZF_WD_BINDKEY:-'^B'} fuzzy_wd_widget +# ctrl-b to open the fzf browser +bindkey ${FZF_WD_BINDKEY:-'^B'} wd_browse_widget ``` ## Usage @@ -255,12 +258,6 @@ wd --version wd --config ./file <command> ``` -* Force `exit` with return code after running. This is not default, as it will *exit your terminal*, though required for testing/debugging. - -```zsh -wd --debug <command> -``` - * Silence all output: ```zsh |
