wspick

terminal workspace picker

If you hate typing out all your long project paths in the terminal just to cd there or open them in an editor, this is for you.

```bash ❯ wspick ? select project:

test1 test2 project [new] [edit] [↑↓ to move, enter to select, type to filter]
```

```bash ❯ wspick ? select project: tes

test1 test2 [↑↓ to move, enter to select, type to filter] ```


Installation

cargo install wspick


Usage

Calling wspick opens a selector with projects that can be opened in a configured editor. New projects can be added by selecting new and specifing path and name or by editing the config directly

```bash wspick ? select project

[new] [edit] [↑↓ to move, enter to select, type to filter] ```

Parameters

CD to projects

To use it on linux to cd to projects create the following alias: ```bash alias cdws='cd $(wspick -p)'

```

Config

On first start a new configfile wspick.toml is generated and stored in an appropriate location. On linux this is ~/.config/wspick ```yaml open_cmd = "" editor = "/usr/bin/helix" sort = true

[paths] exercism-rust = "/home/manuel/programming/exercism/rust" ```