mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
[wd] Update to v0.4.1
This commit is contained in:
parent
c78277fd8b
commit
4533c7a31c
3 changed files with 65 additions and 8 deletions
|
|
@ -5,6 +5,8 @@ wd
|
|||
|
||||
`wd` (*warp directory*) lets you jump to custom directories in zsh, without using `cd`. Why? Because `cd` seems ineffecient when the folder is frequently visited or has a long path.
|
||||
|
||||
*NOTE*: If you are not using zsh, check out the `ruby` branch which has `wd` implemented as a gem.
|
||||
|
||||
|
||||
### Setup
|
||||
|
||||
|
|
@ -33,7 +35,7 @@ Run either in terminal:
|
|||
* Add `wd` function to `.zshrc` (or `.profile` etc.):
|
||||
|
||||
wd() {
|
||||
. ~/paht/to/wd/wd.sh
|
||||
. ~/path/to/cloned/repo/wd/wd.sh
|
||||
}
|
||||
|
||||
* Install manpage. From `wd`'s base directory (requires root permissions):
|
||||
|
|
@ -84,7 +86,15 @@ Also, you may have to force a rebuild of `zcompdump` by running:
|
|||
|
||||
* List all warp points (stored in `~/.warprc`):
|
||||
|
||||
$ wd ls
|
||||
$ wd list
|
||||
|
||||
* List files in given warp point:
|
||||
|
||||
$ wd ls foo
|
||||
|
||||
* Show path of given warp point:
|
||||
|
||||
$ wd path foo
|
||||
|
||||
* List warp points to current directory, or optionally, path to given warp point:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue