release: 0.2.2 fix post-install packaging and robustness

This commit is contained in:
2026-04-02 21:35:45 +02:00
parent f7f09b895d
commit a64bc768b5
8 changed files with 216 additions and 27 deletions

View File

@@ -51,22 +51,16 @@ docs/index.md
Install the project in user mode:
```bash
pip install .
pip install cd-browser
```
For editable local development:
**Important**: After installation, run this to set up the `cd_` command:
```bash
pip install -e '.[dev]'
cd_browser_post_install
```
After installation, the application command is:
```bash
cd_browser
```
When the interactive session exits, the program prints the final selected directory path.
This interactive script will guide you through enabling `cd_` in your shell.
## Shell Integration For `cd_`
@@ -113,7 +107,7 @@ If the project was installed with `pip`, remove it with:
pip uninstall cd-browser
```
If you also added the `cd_` shell wrapper, remove that function from your shell profile and reload the shell configuration.
**Important**: After uninstalling, remove the `cd_()` function from your shell profile (~/.bashrc or ~/.zshrc) to clean up completely.
## Developer Setup