0.10.0 • Published 8 years ago

gotomark v0.10.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

gotomark

command line program for marking directories for quick and easy access

npm install gotomark -g

The installer will ask you what your shell profile is called, defaulting to .bash_profile. This location is saved within the ~/.gotomark folder. When the installer is finished, source your profile:

$ source ~/<profile name>

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

ex:

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
/Users/evan/dev/gotomark

==Thanks to

Options parsing https://github.com/substack/node-optimist

Bash Completion http://fahdshariff.blogspot.com/2011/04/writing-your-own-bash-completion.html

0.10.0

8 years ago

0.9.5

8 years ago

0.9.4

10 years ago

0.9.3

10 years ago

0.9.1

10 years ago

0.9.0

10 years ago

0.7.2

10 years ago

0.7.1

11 years ago

0.7.0

11 years ago

0.3.0

11 years ago

0.2.3

11 years ago

0.2.2

11 years ago

0.2.1

11 years ago

0.1.3

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago