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

fastfetch config hardcoded for fish shell #1715

Closed
etrigan63 opened this issue Sep 28, 2024 · 4 comments · Fixed by #1820
Closed

fastfetch config hardcoded for fish shell #1715

etrigan63 opened this issue Sep 28, 2024 · 4 comments · Fixed by #1820
Labels
bug Something isn't working enhancement New feature or request

Comments

@etrigan63
Copy link

Describe the bug

Fastfetch rotates through logos in bash and zsh, but is hardcoded to dolly in the fish shell. Fish uses a config file in the immutable part of the OS to define the alias. The file is /usr/share/fish/vendor.conf.d/bluefin-fastfetch.fish

What did you expect to happen?

I expected fastfetch to rotate through logos like bash & zsh. I also expect to be able to customize fastfetch to mu liking. I suggest you move the aforementioned bluefin-fastfetch.fish from its current location in the immutable bits to /etc/skel/.config/fish/functions so it gets copied to the user's home folder and can be modified. You may optionally want to do the same with the .jsonc file as well.

Output of rpm-ostree status

❯ rpm-ostree status
State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: last run 1h 20min ago
Deployments:
  ostree-image-signed:docker://ghcr.io/ublue-os/bluefin:latest
                   Digest: sha256:d9a9e3f8d958087122f3d72e153cfdfe04029e2aaa2ca8986c9297f1370ca453
                  Version: 40.20240927.0 (2024-09-28T10:59:58Z)
                     Diff: 3 upgraded, 4 downgraded

● ostree-image-signed:docker://ghcr.io/ublue-os/bluefin:latest
                   Digest: sha256:daa0c9f1dce00944e0811a9d91a0af44ea243bc1ad5388cf08dec13dd106f07b
                  Version: 40.20240926.0 (2024-09-27T21:05:27Z)

  ostree-image-signed:docker://ghcr.io/ublue-os/bluefin:latest
                   Digest: sha256:6930bff60edccf0cd90624066f020c7eed3da104d6561f1d44701fff7c4ff17a
                  Version: 40.20240926.0 (2024-09-27T04:50:52Z)

Output of groups

❯ groups
guru wheel

Extra information or context

No response

@dosubot dosubot bot added bug Something isn't working enhancement New feature or request labels Sep 28, 2024
@m2Giles
Copy link
Member

m2Giles commented Sep 28, 2024

Since it's in the vendor function it can be overridden either at the system level in /etc/fish/ or at a user level in ~/.config/fish.

The reason it doesn't rotate right now is that it is simply unimplemented. PRs are welcome for matching the behavior on bash. I personally do not use fish so when I wrote this function I only implemented the static image.

@etrigan63
Copy link
Author

It's not a simple override. You have to delete the existing alias before writing the new one. Once I get the fish file corrected I will submit a PR but I still think moving that stuff out of the immutable side is a good idea.

@m2Giles
Copy link
Member

m2Giles commented Sep 28, 2024

We could move it to /etc/fish/config.fish or something like that. The idea is that the default should be at system level so there is a copy of the original in /usr somewhere

@etrigan63
Copy link
Author

It took me a week to track this down because they were located in the immutable part of the system. All of the references I found were for the bash/zsh version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants