fish: Unable to create a configuration directory for fish.
fish: Unable to create a configuration directory for fish. Your personal settings will not be saved. Please set the $XDG_CONFIG_HOME variable to a directory where the current user has write access.
echo $HOME— says/home/jdavis — which is right
echo $XDG_CONFIG_HOME— Blank
ls -la ~/.config— Ah, here’s the problem
Turns out I had run `
fish` first as root, so the ~/.config/ folder and its sub folders were owned by root. A quick `
chown -R jdavis.jdavis ~/.config/` fixed the issue. Just make sure you use your username rather than mine.