Fish, add nix-your-shell to fish
This commit is contained in:
parent
f5962d1d27
commit
2cde55691b
1 changed files with 4 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
functionModule = with lib.types; submodule {
|
||||
options = {
|
||||
|
|
@ -21,6 +21,9 @@ in {
|
|||
config = lib.mkIf config.fish.enable {
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
interactiveShellInit = ''
|
||||
${pkgs.nix-your-shell}/bin/nix-your-shell fish | source
|
||||
'';
|
||||
functions = {
|
||||
fish_greeting = "";
|
||||
fish_prompt = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue