From e8190d81e524daae8aeb1e28f3a996e1a5b9ca29 Mon Sep 17 00:00:00 2001 From: rusty kay <2297143+feep@users.noreply.github.com> Date: Tue, 16 Jun 2020 08:13:55 -0700 Subject: [PATCH] doc: document workaround for fish weirdness closes #3 --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index cc89766..1042037 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,8 @@ 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. @@ -28,6 +30,18 @@ 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.