I want to start a particular fish
instance with a specific config.fish
.
Something along the lines of the Bash --rcfile
option.
I'm aware of the XDG_CONFIG_HOME
variable. But I just want to switch the config for fish. Not for other programs using XDG I would run from that fish instance.
cd ~/.config/fish; mv config.fish config.fish~; ln my.other.config.fish config.fish; fish &; mv config.fish~ config.fish; fg