Fish: Difference between revisions
PowerUser64 (talk | contribs) m Changed a space that was a unicode space into a non-unicode space. This makes the code snippet not break when you try to run it. |
Bitestring (talk | contribs) m The dconf path and the fish command was incorrect. I have corrected the case to make it work. |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 151: | Line 151: | ||
}; | }; | ||
</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''' | '''Setting fish as default for Gnome Console''' | ||
| Line 160: | Line 162: | ||
dconf = { | dconf = { | ||
enable = true; | enable = true; | ||
settings."org/gnome/ | settings."org/gnome/Console" = { | ||
shell = [ " | shell = [ "fish" ]; | ||
}; | }; | ||
}; | }; | ||
| Line 172: | 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 ==== | ||