Skip to content

Commit da4c2cc

Browse files
authored
Update README with clearer installation instructions
Clarified installation instructions and added caveats for aws-cli-utils setup.
1 parent 6b897fb commit da4c2cc

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,16 @@ echo "source /opt/lamhaison-tools/aws-cli-utils/main.sh" >> ~/.zshrc
8484
#### Install
8585
```
8686
brew tap lamhaison/formulae
87-
brew install lamhaison/formulae/aws-cli-utils
87+
brew install lamhaison/formulae/aws-cli-utils # Make sure you flow the the instruction when it is installed completely, we need that for the next step
88+
# Example
89+
#...
90+
#==> Caveats
91+
#Add these lines to ~/.bashrc or ~/.zshrc or ~/.bash_profile
92+
#source "$(which aws-cli-utils.sh)" "/opt/homebrew/Cellar/aws-cli-utils/$(brew info aws-cli-utils | head -1 | awk -F "stable " '{print $2}')/bin" "${HOME}" "True"
93+
#...
8894
```
8995
## Load when start an Iterm terminal
90-
Add these lines to ~/.bashrc or ~/.zshrc or ~/.bash_profile
91-
```
92-
source "$(which lhs-helpful-commandlines.sh)" "/opt/homebrew/Cellar/lhs-helpful-commandlines/$(brew info lhs-helpful-commandlines | grep -E '==> .*: stable (.*)$' | sed -E 's|==> .*: stable (.*)$|\1|g')" "True" "True"
93-
94-
```
96+
Add these lines to ~/.bashrc or ~/.zshrc or ~/.bash_profile from the previous step `source ....`
9597

9698
### Re-install the latest version
9799
```

0 commit comments

Comments
 (0)