Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fisher v4 support #37

Merged
merged 1 commit into from
Mar 4, 2022
Merged

Add fisher v4 support #37

merged 1 commit into from
Mar 4, 2022

Conversation

0rax
Copy link
Owner

@0rax 0rax commented Mar 4, 2022

This should fix #33 & #36 while keeping the original source init.sh flow working for people that have installed fishline manually.

The major changes here are:

  • moved internals and segments to the functions folder
  • added a completion file under completions/fishline.fish
  • move most of the content of init.fish to conf.d/fishline-init.fish (which is loaded by init.fish to keep compatibility)
  • moved all themes to conf.d/fishline-themes (also added a symlink from conf.d/fishline-themes to themes to keep compatibility)
  • update tests/run.fish to use the new paths

The folder structure here is not as clean as it was previously imo but will work perfectly for both manual (in a separate folder) and fisher install until I find time to do a complete cleanup of the codebase.

- moved `internals` and `segments` to the `functions` folder
- added a completion file under `completions/fishline.fish`
- move most of the content of `init.fish` to `conf.d/fishline-init.fish` (which is loaded by `init.fish` to keep compatibility)
- moved all themes to `conf.d/fishline-themes` (also added a symlink from `conf.d/fishline-themes` to `themes` to keep compatibility)
- update `tests/run.fish` to use the new paths
@0rax 0rax merged commit 4b611b7 into master Mar 4, 2022
@0rax 0rax deleted the fix/fisher-4 branch March 4, 2022 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Fisher 4.1.0
1 participant