1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-25 23:30:08 +00:00
ohmyzsh/plugins/wd
Robby Russell 3e30b4d2d1 Merge pull request #2922 from ncanceill/easymerge
Easy-to-Merge via @ncanceill... our hero!
2014-08-31 10:46:31 -07:00
..
_wd.sh [wd] v0.3.1: Improved completion and bug fixes 2014-07-15 17:44:23 +02:00
LICENSE [wd] v0.2.2: Added MIT-License 2014-07-16 12:27:01 +02:00
README.md [wd] v0.3.1: Improved completion and bug fixes 2014-07-15 17:44:23 +02:00
wd.plugin.zsh [wd] v0.3.1: Improved completion and bug fixes 2014-07-15 17:44:23 +02:00
wd.sh [wd] v0.3.1: Improved completion and bug fixes 2014-07-15 17:44:23 +02:00

wd

Maintainer: mfaerevaag

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. Source

Usage

  • Add warp point to current working directory:

     $ wd add foo
    

    If a warp point with the same name exists, use add! to overwrite it.

    Note, a warp point cannot contain colons, or only consist of only spaces and dots. The first will conflict in how wd stores the warp points, and the second will conflict other features, as below.

  • From an other directory (not necessarily), warp to foo with:

     $ wd foo
    
  • You can warp back to previous directory, and so on, with this dot syntax:

     $ wd ..
     $ wd ...
    

    This is a wrapper for the zsh dirs function.

  • Remove warp point test point:

     $ wd rm foo
    
  • List all warp points (stored in ~/.warprc):

     $ wd ls
    
  • List warp points to current directory

     $ wd show
    
  • Print usage with no opts or the help argument.