Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yuanchuan/jd

cd to path quickly
https://github.com/yuanchuan/jd

Last synced: 2 months ago
JSON representation

cd to path quickly

Awesome Lists containing this project

README

        

# JD

A command line tool for jumping to a directory quickly.

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

# Jump to it from anywhere
jd name

# List all aliases
jd
```

## Installation

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

# or build from source
go build
```

## Setup

Create a function to your `.zshrc` or `.bashrc`.

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

## Usage

```bash
$ 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.