Skip to content

Commit 5b6583e

Browse files
committed
Fix (readme-install): Use an explicit path to the install dir instead of the current dir.
- using `pwd` only works when following the instructions, because we are inside the repository dir. Signed-off-by: Exadra37 <exadra37@gmail.com>
1 parent e262f23 commit 5b6583e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,15 @@ Add the `bin` folder to your path permanently in `~/.bashrc`, `~/.zshrc` or the
7272
For `~/.bashrc`:
7373

7474
```shell
75-
echo 'export AI_INTENT_DRIVEN_DEVELOPMENT_INSTALL_DIR=$(pwd)' >> ~/.bashrc
75+
echo 'export AI_INTENT_DRIVEN_DEVELOPMENT_INSTALL_DIR=~/.local/share/ai-intent-driven-development' >> ~/.bashrc
7676
echo 'export PATH=$PATH:${AI_INTENT_DRIVEN_DEVELOPMENT_INSTALL_DIR}/bin' >> ~/.bashrc
7777
echo 'alias aidd="${AI_INTENT_DRIVEN_DEVELOPMENT_INSTALL_DIR}/bin/ai-intent-driven-development.sh"' >> ~/.zshrc
7878
```
7979

8080
For `~/.zshrc`:
8181

8282
```shell
83-
echo 'export AI_INTENT_DRIVEN_DEVELOPMENT_INSTALL_DIR=$(pwd)' >> ~/.zshrc
83+
echo 'export AI_INTENT_DRIVEN_DEVELOPMENT_INSTALL_DIR=~/.local/share/ai-intent-driven-development' >> ~/.zshrc
8484
echo 'export PATH=$PATH:${AI_INTENT_DRIVEN_DEVELOPMENT_INSTALL_DIR}/bin' >> ~/.zshrc
8585
echo 'alias aidd="${AI_INTENT_DRIVEN_DEVELOPMENT_INSTALL_DIR}/bin/ai-intent-driven-development.sh"' >> ~/.zshrc
8686
```

0 commit comments

Comments
 (0)