bsag
bsag

I’ve currently got zsh set as my login shell, but when I start a fish shell using an iTerm profile, I obviously don’t inherit $PATH etc. as I would if calling fish from a zsh shell. But I don’t want to duplicate that stuff if possible. I’m not sure of the best way to handle it.

|
Embed
In reply to
cn
cn

@bsag a file that can be sourced by both?

|
Embed
bsag
bsag

@cn That might be the best way to go.

|
Embed
hjertnes
hjertnes

@bsag @cn that would work with some shells, but unless there are some fish compat mode I'm not aware of this either requires some setup config layer(that sounds like a lot extra work) or just keep it manually in sync. I do the latter when I feel like using zsh for a change

|
Embed
bsag
bsag

@bsag @hjertnes @cn Thanks both! I think I’m probably making things too complicated and I should just manage it manually as you suggest, then just launch each shell independently to avoid exporting env variables twice.

|
Embed