Skip to content

Commit

Permalink
Make widget sourcing defensive
Browse files Browse the repository at this point in the history
  • Loading branch information
denisidoro authored Aug 13, 2020
1 parent 4c0151c commit 22c0d03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ By running `navi` for the first time, you'll be suggested to download some cheat
You can use **navi** as a widget to your shell. This way, your history is correctly populated and you can edit the command as you wish before executing it. To set it up, add this line to your `.bashrc`-like file:
```sh
# bash
source <(navi widget bash)
source <(echo "$(navi widget bash)")

# zsh
source <(navi widget zsh)
source <(echo "$(navi widget zsh)")

# fish
navi widget fish | source
Expand Down

0 comments on commit 22c0d03

Please sign in to comment.