Fish: Difference between revisions
m →Installation: fix: link |
Bitestring (talk | contribs) m The dconf path and the fish command was incorrect. I have corrected the case to make it work. |
||
| (5 intermediate revisions by 3 users not shown) | |||
| Line 152: | Line 152: | ||
</nowiki> | </nowiki> | ||
}} | }} | ||
Note that if you use the copy button to the right of the above code block, there will be a unicode space before the <code>!=</code> on line 3 of the snippet that you will need to change to a non-unicode space before executing this in your shell. | |||
'''Setting fish as default for Gnome Console''' | |||
It is possible to set fish as the interactive non-login shell for Gnome Console without setting fish as the login shell (the login shell in /etc/passwd for your user will not be fish). | |||
{{File|3=home-manager.users.myuser = { | |||
dconf = { | |||
enable = true; | |||
settings."org/gnome/Console" = { | |||
shell = [ "fish" ]; | |||
}; | |||
}; | |||
};|name=home.nix|lang=nix}} | |||
If you still want to set fish as the login shell, see [[Command Shell#Changing the default shell]]. | If you still want to set fish as the login shell, see [[Command Shell#Changing the default shell]]. | ||
| Line 158: | Line 174: | ||
Some users suffer from slow build due to fish enabling `documentation.man.generateCaches`. You may force false. | Some users suffer from slow build due to fish enabling `documentation.man.generateCaches`. You may force false. | ||
documentation.man.generateCaches = false'';'' | documentation.man.generateCaches = false'';'' | ||
For home-manager users, man cache need to be disabled in programs | |||
programs.man.generateCaches = false'';'' | |||
==== Running fish interactively with zsh as system shell on darwin ==== | ==== Running fish interactively with zsh as system shell on darwin ==== | ||