Easily tag locations in deep space (directories) and warp (like the space drive) to them.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
README.md

README.md

Tag And Warp

Easily tag locations in deep space (directories) and easily warp (like the space drive) to them with a few keystrokes.

Installation

Installation is quite straightforward. Depending on the shell you are using (bash or zsh), add the following line to .bashrc or .zsh respectively.

source [path-to-repo]/.warpdrive

Usage

tag

Tags the current directory with an optional tagname. If no tagname is specified it will take the name of the current directory.

warp [tagname]

untag

Removes a tag from the taglisting.

untag [tagname]

This tagname is optional. If you are in a tagged directory it will automatically remove the directory from the list of tags.

warp

warp [tagname]

tags

Lists all tags.

retag

Rename an existing tag in the taglisting.

retag [tagname] newname

Here, tagname is optional, but newname must be provided. If you are in a tagged directory, it will automatically retag that directory with the new tagname you specify.

Some examples:

retag mydir           # retags current tagged directory to `mydir`
retag thisdir mydir   # retags `thisdir` to `mydir`

Credits

Based on Jeroen Janssens' jumper.