Skip to content

Commit b40c016

Browse files
Merge pull request #14 from jskswamy/installation-instruction
Update README.md with installation instructions
2 parents 415bb8f + b48d9e4 commit b40c016

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

README.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,18 @@ brew install oath-toolkit fzf
1313

1414
## Install
1515

16-
```
17-
git clone https://github.com/arunvelsriram/lazy-connect.git ~/.lazy-connect
18-
```
16+
### Using Homebrew
1917

2018
```
21-
# zsh users
22-
echo "[ -f ~/.lazy-connect/lazy-connect.sh ] && source ~/.lazy-connect/lazy-connect.sh" >> ~/.zshrc
23-
source ~/.zshrc
19+
brew tap arunvelsriram/stable
20+
brew install lazy-connect
2421
```
2522

23+
### Manual
24+
2625
```
27-
# bash users
28-
echo "[ -f ~/.lazy-connect/lazy-connect.sh ] && source ~/.lazy-connect/lazy-connect.sh" >> ~/.bashrc
29-
source ~/.bashrc
26+
git clone https://github.com/arunvelsriram/lazy-connect.git ~/.lazy-connect
27+
sudo ln -s ~/.lazy-connect/lazy-connect /usr/local/bin/lazy-connect
3028
```
3129

3230
### Usage
@@ -56,8 +54,8 @@ export LAZY_CONNECT_TOTP_QUERY=<name of the issuer>
5654

5755
### Note
5856

59-
* The secret key to generate TOTP is stored in Keychain on Mac under default `login` keychain. You may need to
57+
- The secret key to generate TOTP is stored in Keychain on Mac under default `login` keychain. You may need to
6058
enter your login password to allow access to Keychain.
61-
* You need to add your Termainal emulator app that invokes the function to `Security & Privacy -> Accessibility`. It is
59+
- You need to add your Termainal emulator app that invokes the function to `Security & Privacy -> Accessibility`. It is
6260
necesssary because the script interacts with the UI. There are other ways via CLI to avoid UI interaction but
6361
they are all broken in OS X 10.12+.

0 commit comments

Comments
 (0)