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>
.
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.
curl -sS https://raw.githubusercontent.com/patoobe/sote/master/bin/sote | bash
wget -q -O - https://raw.githubusercontent.com/patoobe/sote/master/bin/sote | bash
git clone https://github.com/patoobe/sote ~/.sote && ~/.sote/bin/sote
If you want change the "Sote Store" location (~/.sote-store), edit the Sote script and change SOTE_STORE
variable.
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.
An explicit video is better than thousands words, so :
In lieu of a formal styleguide, take care to maintain the existing coding style.
-
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)
Copyright (c) 2014 krkn
Licensed under the MIT license.