kotct / dot

A collaborative configuration for various tools.
MIT License
3 stars 2 forks source link

fish configuration #97

Open cg505 opened 6 years ago

cg505 commented 6 years ago

This project intends to be a wide-ranging set of dotfiles. Currently it only contains emacs (although that's doing a pretty good job). As my primary shell, I use fish and hope to move the base of my configuration into this repo. Fish configuration doesn't really work in the same way emacs does in that you can configure it from the CLI instead of from mostly static config files (think set -U). I also use fisherman which work by creating symlinks into your config directory instead of creating a separate system that is loaded by your config (like in emacs with the elpa directory). These all pose challenges to a dot-style fish config that I am not sure how to solve. I don't even know if anyone else using this project also uses fish.

rye commented 6 years ago

I'm surprised to hear that you use Fish as well, because I do too. And Fish is nice.

I don't do any package management in Fish and I don't know of any easy way of doing anything more than just symlinking files, I guess.

rye commented 6 years ago

I will say that Fish makes it insanely easy to live-update your environment. If you make changes to a file in ~/.config/fish, it just magically happens. So, we could probably do some kind of stuff to get user configurations loaded.

cg505 commented 6 years ago

Thinking about this a bit, and I have a couple of thoughts:

  1. Treat .config/fish like .emacs.d and symlink in there. Viscously manage that directory.
  2. Place user config somewhere else (.config/dot/fish, for instance). Take care of symlinking things into .config/fish, or otherwise take care of letting fish know where to look for things.
  3. Eventually transition to a model where all user config is in .config/dot (including emacs user configs) which can be stored as username/.dot on github. Allows ultimate unification with emacs config wrt universally available personal configurations (which is the bestseller for this entire project, imo).