문제

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