Skip to content
/ hop Public
forked from Cue/hop

Script to hop to common directories and servers

License

Notifications You must be signed in to change notification settings

onilton/hop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hop

Navigate to common directories more easily.

Copyright 2011 by The hop Authors.

Installation

Due to the fact that hop must modify your bash settings to work, at this time it must be installed from source:

git://github.com/Greplin/hop.git

cd hop

python setup.py install

If you do not have a virtualenv set up, you may need to run the last command using 'sudo'.

It's also only compatible with bash at this time. Pull requests welcome.

Usage

# Add a dir
hop -a /var/vhosts/mysite.com

# Jump by basename
hop mysite.com

# Tab complete
hop m<tab>

# Or just use the shortest unique prefix (a la git)
hop m

# Use custom aliases
hop -a /var/vhosts/myothersite.com --as mos
hop mos

# Add ssh shortcuts
hop -s [email protected] --as ext
hop ext

Authors

Greplin, Inc.

About

Script to hop to common directories and servers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published