A faster way to change directory and improve command line productivity.

Shonenjump build Go Report Card GitHub release (latest by date)

shonenjump is a lightweight autojump clone written in Go.

Visualization of the codebase

What does it do?

Quote from the description of autojump:

autojump is a faster way to navigate your filesystem. It works by maintaining a database of the directories you use the most from the command line.

Directories must be visited first before they can be jumped to.

How to use it?

Once you have cd into a directory, shonenjump will save it in a list. The next time you can use the j shortcut to visit it.

For example, suppose that you have cd into a directory called /usr/local/Very-Long-Dir-Name/Sub-Dir/target after shonenjump is enabled. You can then use j long or j target or j vldn to visit it.

Sometimes the first matched directory is not what you want, you can type j <your key word> and then type Tab to trigger auto completion and see the options.

Installation

macOS

brew install suzaku/homebrew-shonenjump/shonenjump

Linux

Arch Linux

Arch Linux user can build/install from the AUR.

Other distros

Users of other distros can follow these steps:

  1. Download the shonenjump binary for your platform, place it in a directory in your $PATH.

  2. Download the setup script for your shell and include it in your shell profile.

    For example, if you are using zsh, you can do the following:

    wget -O ~/.shonenjump.zsh https://raw.githubusercontent.com/suzaku/shonenjump/master/scripts/shonenjump.zsh
    echo '. $HOME/.shonenjump.zsh' >> ~/.zshrc
  3. If you are using zsh, you'll need an extra step to setup tab completion.

    You need to place a script into the zsh/site-functions directory:

    cd <Your Zsh Site-functions Dir>
    wget https://raw.githubusercontent.com/suzaku/shonenjump/master/scripts/_j
Owner
Comments
  • Cross device link error when using LVM partitions

    Cross device link error when using LVM partitions

    My machine is partitioned using LVM with the following layout:

     LV     VG     Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
     home   noe-vg -wi-ao---- 150.00g                                                    
     root   noe-vg -wi-ao---- <24.38g                                                    
     swap_1 noe-vg -wi-a----- <15.41g                                                    
     tmp    noe-vg -wi-ao---- 380.00m                                                    
     var    noe-vg -wi-ao----  32.79g               
    

    The os.Rename function in entry.go always returns a "cross device link error" when trying to rename a shonenjump file /tmp/<file> to /home/<user>/.local/share/shonenjump/<file>.

  • shonenjump_chpwd:4: formato de ejecutable incorrecto: shonenjump

    shonenjump_chpwd:4: formato de ejecutable incorrecto: shonenjump

    Hi, sorry but I've installed shonenjump and now after every command (cd cd .. ls etc) I get this error

    shonenjump_chpwd:4: formato de ejecutable incorrecto: shonenjump

    the translation would be something like wrong executable format

    do you know how solve this error? thanks

  • Correct way to build

    Correct way to build

    I am maintaining the Arch Linux PKGBUILD for shonenjump. Is this the recommended way to build from source?

    CGO_CPPFLAGS="${CPPFLAGS}" CGO_CFLAGS="${CFLAGS}" CGO_CXXFLAGS="${CXXFLAGS}" CGO_LDFLAGS="${LDFLAGS}" \
    go build -buildmode=pie -ldflags "-linkmode external -extldflags \"${LDFLAGS}\""
    
  • Creating a new release?

    Creating a new release?

    Hi there,

    I was just looking for a way to use autojump without having to have python - and your go version looks great.

    I just note that it says on the downloads page that "there have been 9 commits to master" since those versions were compiled.

    Is it worth me compiling myself or are those downloaded versions still good?

  • shonenjump.txt weights getting reset to 0.0

    shonenjump.txt weights getting reset to 0.0

    After a while of using, ~/.local/share/shonenjump.txt directory weights get zeroed out. The coefficients in front of all but a few dirs are literally 0.0.

A command line tool that builds and (re)starts your web application everytime you save a Go or template fileA command line tool that builds and (re)starts your web application everytime you save a Go or template file

# Fresh Fresh is a command line tool that builds and (re)starts your web application everytime you save a Go or template file. If the web framework yo

Nov 22, 2021
Libraries and CLIs for my personal all-in-one productivity system including components like bookmarks, notes, todos, projects, etc.

bntp.go Libraries and CLIs for my personal all-in-one productivity system including components like bookmarks, notes, todos, projects, etc. Neovim int

Sep 13, 2022
An open-source GitLab command line tool bringing GitLab's cool features to your command line
An open-source GitLab command line tool bringing GitLab's cool features to your command line

GLab is an open source GitLab CLI tool bringing GitLab to your terminal next to where you are already working with git and your code without switching

Dec 30, 2022
A command line tool to prompt for a value to be included in another command line.

readval is a command line tool which is designed for one specific purposeβ€”to prompt for a value to be included in another command line. readval prints

Dec 22, 2021
πŸš€ goprobe is a promising command line tool for inspecting URLs with modern and user-friendly way.

goprobe Build go build -o ./bin/goprobe Example > goprobe https://github.com/gaitr/goprobe > cat links.txt | goprobe > echo "https://github.com/gaitr/

Oct 24, 2021
For productivity addicts who enjoys coding while listening to Spotify
For productivity addicts who enjoys coding while listening to Spotify

?? nvim-spotify For productivity addicts who enjoys coding while listening to Sp

Dec 30, 2022
go-editor is the clean go module that refractors from Kubernetes to help you edit resources in a command-line way.

go-editor The source code of go-editor comes from Kubernetes and refractor as the clean Go module. You can embed go-editor in your command-line tool l

Dec 5, 2021
The go mod init command initializes and writes a new go.mod file in the current directory

go mod: The go mod init command initializes and writes a new go.mod file in the current directory, in effect creating a new module rooted at the curre

Nov 21, 2021
Turn .mp3 files in current directory to a podcast feed just one command.

dir2cast Turn .mp3 files in current directory to a podcast feed just one command. Then you can subscribe to it with your favorite podcast client, down

Jun 27, 2022
Run commands when files change.
Run commands when files change.

Crow crow is a simple command-line utility that lets you run arbitrary commands when certain files change. Demo A demonstration of crow being used to

Nov 22, 2022
A CLI tool to change monitor settings over USB to the Gigabyte M32U

Gigabyte Monitor control Introduction A CLI tool to change monitor settings over USB to the Gigabyte M32U Supported monitors Gigabyte M32U In theory a

Dec 30, 2022
Git-reviewers - Find out who are the best reviewers for a given change.

git-reviewers Figure out who would be a good reviewer for a change. There are two places checked when determining reviewers: The results of git blame

Jan 10, 2022
Splasher is a tool to change desktop wallpaper random every 2 minutes from unsplash.

Splasher Splasher is a tool to change desktop wallpaper random every 2 minutes from unsplash. Download Latest Release: GitHub Release Installation & S

Jan 7, 2022
Go package to make lightweight ASCII line graph β•­β”ˆβ•― in command line apps with no other dependencies.
Go package to make lightweight ASCII line graph β•­β”ˆβ•― in command line apps with no other dependencies.

asciigraph Go package to make lightweight ASCII line graphs β•­β”ˆβ•―. Installation go get github.com/guptarohit/asciigraph Usage Basic graph package main

Jan 8, 2023
Got: Simple golang package and CLI tool to download large files faster πŸƒ than cURL and Wget!

Got. Simple and fast concurrent downloader. Installation ❘ CLI Usage ❘ Module Usage ❘ License Comparison Comparison in cloud server: [root@centos-nyc-

Dec 29, 2022
git-xargs is a command-line tool (CLI) for making updates across multiple Github repositories with a single command.
git-xargs is a command-line tool (CLI) for making updates across multiple Github repositories with a single command.

Table of contents Introduction Reference Contributing Introduction Overview git-xargs is a command-line tool (CLI) for making updates across multiple

Dec 31, 2022
git-xargs is a command-line tool (CLI) for making updates across multiple GitHub repositories with a single command
git-xargs is a command-line tool (CLI) for making updates across multiple GitHub repositories with a single command

git-xargs is a command-line tool (CLI) for making updates across multiple GitHub repositories with a single command. You give git-xargs:

Feb 5, 2022
Package command provide simple API to create modern command-line interface

Package command Package command provide simple API to create modern command-line interface, mainly for lightweight usage, inspired by cobra Usage pack

Jan 16, 2022
A command line tool for simplified docker volume command built with go

dockervol A command line tool for simplified docker volume command built with go. Features: Remove anonymous volume (beta) Remove volume by matching n

Dec 18, 2021