Skip to content

JianliZh429/workon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

workon

A simple tool to navigate your repositories

How to install

  1. Clone the latest project to your local
git clone https://github.com/J0hnnyZhang/workon.git
  1. Export workspace, where you want workon to work with. you can skip this step if you want it uses the default workspace, which is the home directory of current user.
 eport WORKON_WORKSPACE=$"your workspace path"
  1. Setup workon, goto the workon code base root dir and run setup.sh
cd ${workon project root directory} && sh setup.sh

How to use

  • Go to your directory
 workon $dir

if no argument, will goto $WORKON_WORKSPACE directory

  • Add a new repository to your command
 workadd $dir
  • Add a shortname to a long name repository
 workalias $repo $shortname