edgedb-cli
edgedb-cli copied to clipboard
fish shell support for the installer
It seems that installer script doesn't support fish shell profile?
Yes, we should add native support for fish profiles.
I use fish, but I don't set it as $SHELL and start it from .bashrc
instead, so environment is picked up both by interactive fish and any bash scripts I run.
Should we use fish_add_path
https://github.com/rust-lang/rustup/issues/478#issuecomment-839537308, but only when running with $SHELL=fish.
Or should we use drop a file into ~/.config/fish/conf.d/
(https://github.com/rust-lang/rustup/issues/478#issuecomment-284203225) ? So that even if someone uses multiple shells or will install fish later on, it still works?
I think those aren't exclusive? fish_add_path
is just a more canonical way of doing set -gx PATH
.
I think those aren't exclusive?
fish_add_path
is just a more canonical way of doingset -gx PATH
.
fish_add_path
is persistent as far as I understand. So it isn't very useful to do both.