Skip to content

krkn/sote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 :

WARNING: sote is currently not compatible with zsh. A fixed version will come soon.

Install with curl

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

Install with wget

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

Manually from GIT repo

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

If you want change the "Sote Store" location (~/.sote-store), edit the Sote script and change SOTE_STORE variable.

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.
        -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 video is better than thousands words, so :

sote demo

Contributing

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

Release History

  • 0.2.0: Refactoring list display and add test on directory existence.

  • 0.1.4: Remove style from show command to use in $().

  • 0.1.3: Bugfix embeds install procedure, transert ownership to krkn (09/09/14)

  • 0.1.2: Add an embeds install procedure (31/07/14)

  • 0.1.1: Bugfixes (31/07/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.