Check if /home/bin is present in PATH

This commit is contained in:
Adw8 2024-09-10 14:55:26 +05:30
parent 4631b6b95d
commit 6747c06c72

View File

@ -63,7 +63,14 @@ To run the playbook on a remote host:
## Verify Installation
- After the installation is complete, ensure that `$HOME/bin` is added to your `PATH` to access `laconic-so` from anywhere in the terminal. You can do this by running the following command:
- After the installation is complete, verify if `$HOME/bin` is already included in your PATH by running:
```bash
echo $PATH | grep -q "$HOME/bin" && echo "$HOME/bin is already in PATH" || echo "$HOME/bin is not in PATH"
```
If the command outputs `"$HOME/bin is not in PATH"`, you'll need to add it to your `PATH`.
- To add `$HOME/bin` to your PATH, run the following command:
```bash
export PATH="$HOME/bin:$PATH"