Skip to content

Commit

Permalink
Added syntax highlight to readme examples
Browse files Browse the repository at this point in the history
  • Loading branch information
craftbyte authored May 20, 2020
1 parent a41e679 commit 4e85013
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ I use a Yubikey to store a GPG key pair and I like to use this key pair as my SS
3.a Add the following to your `.bashrc` or `.zshrc` (for bash/zsh shell):

### SSH
```
```bash
export SSH_AUTH_SOCK=$HOME/.ssh/agent.sock
ss -a | grep -q $SSH_AUTH_SOCK
if [ $? -ne 0 ]; then
Expand All @@ -20,7 +20,7 @@ fi
```

### GPG
```
```bash
export GPG_AGENT_SOCK=$HOME/.gnupg/S.gpg-agent
ss -a | grep -q $GPG_AGENT_SOCK
if [ $? -ne 0 ]; then
Expand All @@ -32,7 +32,7 @@ fi
3.b Add the following to your `config.fish` (for fish shell):

### SSH
```
```fish
set -x SSH_AUTH_SOCK $HOME/.ssh/agent.sock
ss -a | grep -q $SSH_AUTH_SOCK
if [ $status != 0 ]
Expand All @@ -42,7 +42,7 @@ end
```

### GPG
```
```fish
set -x GPG_AGENT_SOCK $HOME/.gnupg/S.gpg-agent
ss -a | grep -q $GPG_AGENT_SOCK
if [ $status != 0 ]
Expand Down

0 comments on commit 4e85013

Please sign in to comment.