Skip to content

rylnd/sd

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 point
cd /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 [email protected]: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 function
source "<PATH_TO_SD_SCRIPT>"

Contributing

Pull requests are always welcome.

About

shift directories (it's wd for bash)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages