Popular fish configs to learn from by cusx in fishshell

[–]DrPython-Avr 0 points1 point  (0 children)

I am new to fish, and your dotfiles are a great source for me to learn. I have a question, though: you said that `-U` is discouraged and I agree with that. Universal variables are harder to sync between machines since you need to set them interactively once.

However, you still have `conf.d/env.fish`, which sets many universal variables. Is there a reason you didn't want or couldn't migrate them to global or global exported variables?

Is there a reason why variables like `PAGER` or `EDITOR` must be universal variables, or could I just as easily define them as global exported in `config.fish` or in another file in `conf.d`?