https://github.com/windler/zsh-ws-conv
oh-my-zsh plugin to quickly navigate to your projects or launch your ide for a project
https://github.com/windler/zsh-ws-conv
workspace zsh
Last synced: about 2 months ago
JSON representation
oh-my-zsh plugin to quickly navigate to your projects or launch your ide for a project
- Host: GitHub
- URL: https://github.com/windler/zsh-ws-conv
- Owner: windler
- License: mit
- Created: 2017-07-30T15:38:29.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-05T15:00:34.000Z (almost 9 years ago)
- Last Synced: 2025-03-13T21:26:13.877Z (over 1 year ago)
- Topics: workspace, zsh
- Language: Shell
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE.md
Awesome Lists containing this project
README
# zsh-ws-conv
This is a `oh-my-zsh` plugin that lets you generate aliases for changing directory to all
cloned projects. Also, you can define a IDE command an launch every cloned project directly
from shell.
## Installation
In order to install you need `oh-my-zsh`. Then you can install the plugin doing the following:
```
cd ~/.oh-my-zsh/custom/plugins
git clone https://github.com/windler/zsh-ws-conv.git
zsh
```
## Preconditions
After installing the plugin you have to define two variables. This plugin needs to know the root
directory of your projects and the IDE command you are using. The archive this you can add the following
variables to your `~/.zshrc` file.
```
__PROJECTS_BASE_DIR=~/projects
__PROJECTS_IDE=pstorm #Example for phpstorm
```
## Usage
The basic commands are
```
ws
ws
```
For each project there will be an alias to start your IDE or `cd`. E.g. you got an project called
`my_project` you have the following aliases as well
```
wsmy_project
my_project # E.g. pstormmy_project
```
Remmeber that `zsh` lets you autocomplete all your aliases. So just type `ws` to list all
possibilities.