Skip to content

Commit a123932

Browse files
committed
Enhancement (readme-install): Improved instructions with section for ZSH. Fixed wrong path for the install dir.
Signed-off-by: Exadra37 <exadra37@gmail.com>
1 parent 5bae8a5 commit a123932

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,24 @@ Go inside the installation directory:
6767
cd ~/.local/share/ai-intent-driven-development
6868
```
6969

70-
Add the `bin` folder to your path permanently. Replace `~/.bashrc` with the file for your shell, for example `~/.zshrc`:
70+
Add the `bin` folder to your path permanently in `~/.bashrc`, `~/.zshrc` or the file for your shell of preference.
71+
72+
For `~/.bashrc`:
7173

7274
```shell
73-
echo 'export AI_INTENT_DRIVEN_DEVELOPMENT_INSTALL_DIR=~/$(pwd)' >> ~/.bashrc
75+
echo 'export AI_INTENT_DRIVEN_DEVELOPMENT_INSTALL_DIR=$(pwd)' >> ~/.bashrc
7476
echo 'export PATH=$PATH:${AI_INTENT_DRIVEN_DEVELOPMENT_INSTALL_DIR}/bin' >> ~/.bashrc
7577
echo 'alias aidd="${AI_INTENT_DRIVEN_DEVELOPMENT_INSTALL_DIR}/bin/ai-intent-driven-development.sh"'
7678
```
7779

80+
For `~/.zshrc`:
81+
82+
```shell
83+
echo 'export AI_INTENT_DRIVEN_DEVELOPMENT_INSTALL_DIR=$(pwd)' >> ~/.zshrc
84+
echo 'export PATH=$PATH:${AI_INTENT_DRIVEN_DEVELOPMENT_INSTALL_DIR}/bin' >> ~/.zshrc
85+
echo 'alias aidd="${AI_INTENT_DRIVEN_DEVELOPMENT_INSTALL_DIR}/bin/ai-intent-driven-development.sh"'
86+
```
87+
7888
> **IMPORTANT:** The environment variable `AI_INTENT_DRIVEN_DEVELOPMENT_INSTALL_DIR` is required for the script to work properly.
7989
8090
Now, you need to reload your shell file:

0 commit comments

Comments
 (0)