Skip to content

Fish

programs.fish.enable

Whether to configure fish as an interactive shell.

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/fish.nix

programs.fish.interactiveShellInit

Shell script code called during interactive fish shell initialisation.

Type: strings concatenated with "\n"

Default

""

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/fish.nix

programs.fish.loginShellInit

Shell script code called during fish login shell initialisation.

Type: strings concatenated with "\n"

Default

""

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/fish.nix

programs.fish.package

The fish package to use. Type: package

Default

pkgs.fish

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/fish.nix

programs.fish.promptInit

Shell script code used to initialise fish prompt.

Type: strings concatenated with "\n"

Default

""

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/fish.nix

programs.fish.shellAbbrs

Set of fish abbreviations.

Type: attribute set of string

Default

{ }

Example

{gco = "git checkout";npu = "nix-prefetch-url";}

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/fish.nix

programs.fish.shellAliases

Set of aliases for fish shell, which overrides {option}environment.shellAliases. See {option}environment.shellAliases for an option format description.

Type: attribute set of (null or string or path)

Default

{ }

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/fish.nix

programs.fish.shellInit

Shell script code called during fish shell initialisation.

Type: strings concatenated with "\n"

Default

""

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/fish.nix

programs.fish.useBabelfish

If enabled, the configured environment will be translated to native fish using babelfish. Otherwise, foreign-env will be used.

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/fish.nix

programs.fish.vendor.completions.enable

Whether fish should use completion files provided by other packages.

Type: boolean

Default

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/fish.nix

programs.fish.vendor.config.enable

Whether fish should source configuration snippets provided by other packages.

Type: boolean

Default

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/fish.nix

programs.fish.vendor.functions.enable

Whether fish should autoload fish functions provided by other packages.

Type: boolean

Default

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/fish.nix