Skip to content

yuanchuan/jd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JD

A command line tool for jumping to a directory quickly.

# Add an alias for the current directory
jd -a name

# Jump to it from anywhere
jd name

# List all aliases
jd

Installation

# install directly
go get github.com/yuanchuan/jd

# or build from source
go build

Setup

Create a function to your .zshrc or .bashrc.

function jd {
   builtin cd "$(/path/to/jd $@)"
}

Usage

$ jd --help

  Usage of you/path/to/bin/jd:
    -a string
          Add an alias
    -d string
          Delete an alias.
    -r string
          Rename an alias.

Notes

This is my first Go program written in 2015.

About

cd to path quickly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages