Skip to content

Commit 0e70c62

Browse files
committed
Reduce indentation
Signed-off-by: Justin Zhang <[email protected]>
1 parent fe88e07 commit 0e70c62

File tree

1 file changed

+11
-11
lines changed
  • content/post/archlinux-meets-lima

1 file changed

+11
-11
lines changed

content/post/archlinux-meets-lima/index.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -181,17 +181,17 @@ inside the VM. The second user provision script in the previous YAML
181181
setup the SSH keys sharing as follows:
182182

183183
```sh
184-
if ! grep "User git" ~/.ssh/config; then
185-
HOST_USER=$(ls /Users)
186-
cat<<EOF >> ~/.ssh/config
187-
Host github.com
188-
User git
189-
Port 22
190-
StrictHostKeyChecking no
191-
PasswordAuthentication no
192-
IdentityFile /Users/$HOST_USER/.ssh/id_ed25519
193-
EOF
194-
fi
184+
if ! grep "User git" ~/.ssh/config; then
185+
HOST_USER=$(ls /Users)
186+
cat<<EOF >> ~/.ssh/config
187+
Host github.com
188+
User git
189+
Port 22
190+
StrictHostKeyChecking no
191+
PasswordAuthentication no
192+
IdentityFile /Users/$HOST_USER/.ssh/id_ed25519
193+
EOF
194+
fi
195195
```
196196

197197
This avoids duplicating the SSH keys in the ArchLinux VM. However, don't share

0 commit comments

Comments
 (0)