diff options
| author | ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com> | 2024-05-12 12:42:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-12 12:42:59 +0200 |
| commit | b1c5315a5fbc33624525e434ddbaec3bb30030e2 (patch) | |
| tree | b23cc01f73b1d50832aeb983efbc939850f15a6d /plugins/wd/README.md | |
| parent | 0493eab8ce02c4988a16cbe27ad61a20ed8a89df (diff) | |
| download | zsh-b1c5315a5fbc33624525e434ddbaec3bb30030e2.tar.gz zsh-b1c5315a5fbc33624525e434ddbaec3bb30030e2.tar.bz2 zsh-b1c5315a5fbc33624525e434ddbaec3bb30030e2.zip | |
feat(wd): update to version v0.6.1 (#12413)
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 | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/plugins/wd/README.md b/plugins/wd/README.md index 0ad74e805..0c71c0565 100644 --- a/plugins/wd/README.md +++ b/plugins/wd/README.md @@ -57,6 +57,24 @@ wd() { } ``` +### [Home Manager](https://github.com/nix-community/home-manager) + +Add the following to your `home.nix` then run `home-manager switch`: + +```nix +programs.zsh.plugins = [ + { + name = "wd"; + src = pkgs.fetchFromGitHub { + owner = "mfaerevaag"; + repo = "wd"; + rev = "v0.5.2"; + sha256 = "sha256-4yJ1qhqhNULbQmt6Z9G22gURfDLe30uV1ascbzqgdhg="; + }; + } +]; +``` + ### [zplug](https://github.com/zplug/zplug) ```zsh @@ -119,6 +137,14 @@ Also, you may have to force a rebuild of `zcompdump` by running: 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`: + +```zsh +bindkey '^G' wd_browse +``` + ## Usage * Add warp point to current working directory: @@ -153,7 +179,7 @@ wd .. wd ... ``` -This is a wrapper for the zsh's `dirs` function. +This is a wrapper for the zsh's `dirs` function. _You might need to add `setopt AUTO_PUSHD` to your `.zshrc` if you are not using [oh-my-zsh](https://github.com/ohmyzsh/ohmyzsh)._ * Remove warp point: |
