1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
prezto/modules/project-jump/README.md

23 lines
811 B

# Project Jump
10 years ago
Provides `pj` function and aliases that quickly jumps to pre-specified directories.
10 years ago
## Usage
10 years ago
- Set `$PROJECT_PATHS` in your ~/.zshrc
```shell
# Set space separated directories for tab-completion jumping with pj
PROJECT_PATHS=(~/src ~/work)
10 years ago
```
- In ZSH you now can open a project directory with the command: `pj my-project`
the plugin will locate the `my-project` directory in one of the $PROJECT_PATHS
with tab completion.
10 years ago
- `pjo my-project` will open the directory in $EDITOR
## Comparison with fasd
- The fasd module which allows quick jumping to all visited directories in most frequently visited order and many more features.
10 years ago
- Prefer pj if you just want simple tab completion of common directories.
- No issue with using both pj and fasd at the same time.