質問

set -xU CFLAGS "-g" will set a universal variable that will persist across sessions. So this variable value must be store in the filesystem somewhere. Where exactly?

I would like to put this file under version control (git) in my ~/dotfiles/.

役に立ちましたか?

解決

Since fish version 3.0.0 the file lives in the more portable location ~/.config/fish/fish_variablesJoey Sabey (Edited to be absolute rather than relative path)


in ~/.config/fish/fishd.(hostname)

Since it's host-specific, I'd recommend you put settings you want to share in ~/.config/fish/config.fish

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top