Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
command line program for marking directories from the command line for quick and easy access
JavaScript Shell
tag: 0.9.2

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


command line program for marking directories for quick and easy access

npm install gotomark -g

This will alter your ~/.bash_profile. To use gotomark you must either close and re-open your terminal or run this command

source ~/.bash_profile

After which you will have two new commands available to you: mark and goto. Both take an optional single argument denoting the short name of the place you would like to mark or goto.

basic usage:

mark [place]
goto [place]

list marks

mark -l
goto -l      # these do the same thing

delete mark

mark -d [markName]  # mark name has to be exact

mark -d             # find the markname for the current directory and delete it


evan@~$ cd dev/                      # currently in home dir

evan@dev$ mark                       # marking dev/ as default

evan@dev$ cd                         # going back to home dir

evan@~$ goto                         # going to default [~/dev/]

evan@dev$ cd gotomark/               # going to a new dir

evan@gotomark (master)$ mark gm      # marking as 'gm'

evan@gotomark (master)$ cd           # leaving directory

evan@~$ goto gm                      # going to 'gm'

evan@gotomark (master)$ pwd          # showing in new dir

==Thanks to

Options parsing

Bash Completion

Something went wrong with that request. Please try again.