Skip to content

Commit

Permalink
add instructions for fish shell
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielMSchmidt authored and prydonius committed Jun 22, 2020
1 parent 22a3790 commit ce83ca4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ If you're okay with the scary warnings above, add the following line to your she
if which karn > /dev/null; then eval "$(karn init)"; fi
```

If you run on [fish](https://fishshell.com/) you can put this line in your config.fish
```
alias git="karn update; command git $argv"
```

### Run manually when you want to update
Alternatively, you can run `karn update` manually in a Git repository whenever you need to update your identity for that repository.

Expand Down

0 comments on commit ce83ca4

Please sign in to comment.