Skip to content

wdullaer/scotty

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

Scotty

Scotty uses full text search techniques to rapidly go to directories in your shell that you have visited previously. It is implemented in rust, because I wanted to learn the language, but also to minize any latency so that your shell remains snappy.

asciicast

Installation

scotty can be installed in a few different ways. More will be added in the future if it gains any traction.

  1. Install the binary

    Using Cargo

    If you have a working rust toolchain installed, scotty can easily be installed using cargo.

    cargo install scotty

    Using Homebrew

    If you have homebrew installed, you can install it from our custom tab. Packages are provided for Mac and 64bit glibc Linux.

    brew tap wdullaer/scotty
    brew install scotty

    Download from github

    Download the latest release from http://github.com/wdullaer/scotty/releases and extract it to a place on your path.

  2. Add the init script to your shell's config file:

    Zsh

    Add the following to the end of your ~/.zshrc file

    source <(scotty init zsh)

    Bash

    Add the following to the end of your ~/.bashrc file

    source <(scotty init bash)

Inspiration

The following projects have been an inspiration for various components in this project:

  • Autojump: Provides similar functionality, implemented in python
  • Starship: A shell prompt implemented in rust
  • Meilisearch: A full text search server implemented in rust
  • SublimeText Fuzzy Match: A reverse engineering of Sublime Text's fuzzy match on files and directories

License

All the code in this repository is released under the Mozilla Public License v2.0, for more information take a look at the LICENSE file.

About

Transports you to any directory you have visited before

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •