A simple tool to navigate your repositories
- export workspace, where your codes located
eport WORKSPACE=$"path to code directory"- pull this repo to your workspace directory
cd $WORKSPACE && git clone https://github.com/DewMaple/workon- add the following lines to your bash_profile or zshrc if you want to use another command alias, just replace workon, workadd, workalias to what you like
alias workon='. $WORKSPACE/workon/workon.sh'
alias workadd='python $WORKSPACE/workon/workon/workon.py assemble'
alias workalias='python $WORKSPACE/workon/workon/workon.py alias'- Go to your repository directory
workon $repoif no argument, will goto $WORKSPACE directory
- Add a new repository to your command
workadd $repo- Add a shortname to a long name repository
workalias $repo $shortname