Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

58 Commits

Repository files navigation

sd Build Status

sd (shift directory) allows you to quickly change directories. It's wd for bash.

Examples

# add a shift pointcd /an/obnoxiously/long/path/that/i/often/use
sd add obx
# shift to that point
sd obx
# shift to a subfolder of that point
sd obx/subfolder/of/common/point
# remove a shift point
sd rm obx
# list all shift points and their destinations
sd ls

Setup (Recommended)

First, pull down the repo:

git clone git@github.com:rylnd/sd

Then, to install (or to get the latest version):

cd sd
setup/sd upgrade

Setup (Automatic)

For a one-off install, simply paste the following into your command line:

curl -sL https://raw.github.com/rylnd/sd/master/setup/sd | bash -s install

Setup (Manual)

Define the sd script in your shell by adding the following to a shell startup file (~/.bash_profile, ~/.bashrc, etc.):

# define the sd functionsource"<PATH_TO_SD_SCRIPT>"

Contributing

Pull requests are always welcome.

About

shift directories (it's wd for bash)

Resources

Stars

14 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages