IlanCosman / tide

🌊 The ultimate Fish prompt.
MIT License
2.86k stars 107 forks source link

How do I persist my tide config to share across machines? #516

Open jriddy opened 1 month ago

jriddy commented 1 month ago

I'm trying to use chezmoi to persist my config across machines.

I would have thought to use the tide configure line that prints out at the end of as a bit of ~/.config/fish/config.fish, but this doesn't seem to take until after the second prompt I hit when logging in. Obviously something is off.

Is there a preferred way to ensure tide configs are set up correctly on a machine?

Screenshot 2024-07-29 at 17 24 13

HerveMARTIN commented 4 weeks ago

Hi, Also interested by this thread. I handle my dotfiles with dotbot, it would be great to save a config file but there is no documentation mentioning this kind of file... Although I found a workaround, dotbot config allow to link some file from my dotfiles (files or folder) repo to a local path, but also to run some commands... Here is an example, but you can find more in my dotfiles repo :

- shell:
    - "fisher update"
    - "tide configure --auto --style=Classic --prompt_colors='True color' --classic_prompt_color=Dark --show_time='24-hour format' --classic_prompt_separators=Angled --powerline_prompt_heads=Sharp --powerline_prompt_tails=Flat --powerline_prompt_style='One line' --prompt_spacing=Compact --icons='Many icons' --transient=Yes"