Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

easy'n'fast cd'ing.

Project Description

Tired of typing a lot to get where the fun is happening? goto was made for you!


Method 1:

$ pip install goto-dir

Method 2:

$ git clone git://
$ cd goto && [sudo] python setup install


The goto command is used to navigate through shortcuts.

Using it without parameters returns a list of all currently labels:

$ goto
home    /home/borges
ws      /home/borges/workspace
docs    /home/borges/Documents

When you pass a label name, goto changes the current directory:

/old/dir$ goto home

But if the label does not exists, an error is thrown:

$ goto connman
connman is not a valid label.


The label command is used to save shortcuts to directories.

When you pass a simple string, the current directory is saved:

/home/borges/Downloads$ label downloads
downloads label points to /home/borges/Downloads.

Using it without parameters saves the current directory using the inner folder as label:

/path/to/something$ label
something label points to /path/to/something.

If the label already exists and points to another directory, an error is thrown:

/home/borges/workspace$ label ws
ws label already exists. Use --replace.

The replacement can be ensured by -r|–replace:

/home/borges/my_new_workspace$ label -r ws
ws label now points to /home/borges/my_new_workspace.

You can delete a label using -d|–delete:

$ label -d docs
docs label was deleted.

But if the label does not exists:

$ label -d connman
connman is not a valid label.

.goto file

All label information are stored in ~/.goto. See an example:

$ cat ~/.goto
home = /home/borges
ws = /home/borges/workspace
docs = /home/borges/Documents


See LICENSE file.

Release History

This version
History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(6.6 kB) Copy SHA256 Hash SHA256
Source None Apr 11, 2013

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting