Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: document workaround for fish weirdness #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,27 @@ Have nodejs and qri installed, then

## Source qriswitch's env variables file in your shell

### Bash

qriswitch sets environment variables in a file `$HOME/.qriswitch/.env`. This file should be sourced in your shell environment:

For me, it's `.bash_profile`, but add this wherever your shell gets its settings.
```
source ~/.qriswitch/.env
```

### Fish

fish gotta be weird.

Set an alias in your `config.fish` or before sourcing `~/.qriswitch/.env`.

```
alias unset 'set --erase' # bash compatibility
```

With that alias, fish should work like bash.

## Creating a New Profile

If you create a new profile using qriswitch and then open Qri Desktop, you'll have a local-only peername.
Expand Down