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

Fish integration #76

Open
krzkrzkrz opened this issue Sep 21, 2015 · 4 comments
Open

Fish integration #76

krzkrzkrz opened this issue Sep 21, 2015 · 4 comments

Comments

@krzkrzkrz
Copy link

Not sure where to put this. I use this theme a lot and recently changed my shell to Fish (http://fishshell.com/).

Since gruvbox_256palette.sh is a bash script. You can still load it in Fish via:

# ~/.config/fish/config.fish
# Modify the terminal's 256 color palette to use the gruvbox theme
set -l GRUVBOX_SCRIPT ~/.vim/bundle/gruvbox/gruvbox_256palette.sh
if test -f $GRUVBOX_SCRIPT
  bash $GRUVBOX_SCRIPT
end

You end up with the right (non washed-up colors). Hope this helps someone.

@polyzen
Copy link

polyzen commented Sep 21, 2015

Have you tried sourcing it directly from fish?

@krzkrzkrz
Copy link
Author

Fish doesn't read bash. Unless you are suggesting a different approach

@Jomik
Copy link

Jomik commented Mar 17, 2018

I did a pretty basic integration here. This will override your terminals background and foreground, using escape codes. Some are taken from the gruvbox_256palette.sh, the colors 0-15 was input as well.
https://github.com/Jomik/fish-gruvbox

Currently doesn't support the various terminals that the gruvbox_256palette.sh script checks for, as I don't really know the purpose, etc. I accept PRs though.

@ranisalt
Copy link

While it seems to me that fish uses colors from .Xresources, I converted the bash script that comes with gruvbox to fish syntax. It's not as complete as @Jomik did though, but maybe I can PR here.

gruvbox_256palette.fish

Guzzii pushed a commit to Guzzii/gruvbox that referenced this issue Nov 15, 2019
Airline: replace CursorLine color by StatusLineNC
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

No branches or pull requests

5 participants