/sote

Shell favorites paths, for faster cd.

Primary LanguageShellMIT LicenseMIT

sote

Shell favorites paths, for faster cd.


sote is like a perpetual pushd : he stores your favorites system paths, so you can jump to it by typing sote <name>.

Installation

sote embeds his own installation procedure. You can use one of the commands below to install it on your system :

Install with curl :

curl -sS https://raw.githubusercontent.com/thierrylag/sote/master/bin/sote | bash

Install with wget :

wget -q -O - https://raw.githubusercontent.com/thierrylag/sote/master/bin/sote | bash

Manually from GIT repo :

git clone https://github.com/thierrylag/sote ~/.sote && ~/.sote/bin/sote

This one install all the GIT repo (the previous one have juste the Sote script).

Usage

sote [options] <name>

    Name:

        *                      Jumps to the path corresponding to the given name.

    Options:

        -h, --help                   Output usage information
        -v, --version                Output the version number
        -l, --list                   Lists the paths stored by sote.
        -s, --show <name>            Shows the path corresponding to the given name.
        -p, --push <name>            Use `pushd` instead of `cd` when change folder.
        -a, --add <name> [path]      Add the path to the store with the given name. If no path is given, use 
        current path.
        -r, --remove <name>          Remove the path stored by sote at the given name.
        -c, --clear                  Clear all the paths stored by sote. Ask for confirmation before acting.

Example

An explicit image is better than thousands words, so :

sote example

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style.

Release History

  • 0.2.0: Add "subshell" capabilities and pushd action (18/10/18)
  • 0.1.1: Add an embeds install procedure (09/09/14)
  • 0.1.0: Rewrite in bash, first release (17/07/14)
  • 0.0.1: Starting project (19/06/14)

License

Copyright (c) 2014 krkn
Licensed under the MIT license.