autojump-go

command module
v0.0.0-...-f0d37c7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2018 License: GPL-3.0, GPL-3.0-or-later Imports: 8 Imported by: 0

README

autojump-go

Build Status Coverage Status Go Report Card

autojump golang implementation. (Not Fully Implemented)

Speed Testing

On my MacbookPro (Intel Core i7 2.2 GHz) , with a directory database of 192 entries.

➜  autojump-go git:(master) ✗ time autojump-go api
/Users/xiaotan/Work/brm-api
autojump-go api  0.00s user 0.01s system 72% cpu 0.010 total
➜  autojump-go git:(master) ✗ time ~/.autojump/bin/autojump api
/Users/xiaotan/Work/brm-api
~/.autojump/bin/autojump api  0.13s user 0.14s system 82% cpu 0.327 total

Feels like just typed the shell command cd.

Install

If you use zsh and has golang environment prepared, you can run these commands to install autojump-go.

go get -u github.com/tanx-code/autojump-go

echo "source $GOPATH/src/github.com/tanx-code/autojump-go/autojump-go.zsh" >> ~/.zshrc

TODO

  • more flag supports, it only supports --add so far
  • more test cases

Pull requests welcome

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL