fish: minor formatting fixes

This commit is contained in:
Robert Helgesson 2018-09-09 21:17:49 +02:00
parent 2bff6e5188
commit 8d2cb0ef9b
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -24,12 +24,13 @@ in
shellAliases = mkOption { shellAliases = mkOption {
default = {}; default = {};
description = '' description = ''
Set of aliases for fish shell. See <option>environment.shellAliases</option> Set of aliases for fish shell. See
for an option format description. <option>environment.shellAliases</option> for an option
format description.
''; '';
type = types.attrs; type = types.attrs;
}; };
shellAbbrs = mkOption { shellAbbrs = mkOption {
default = {}; default = {};
description = '' description = ''
@ -99,13 +100,13 @@ in
end end
# if we haven't sourced the interactive config, do it # if we haven't sourced the interactive config, do it
status --is-interactive; and not set -q __fish_interactive_config_sourced status --is-interactive; and not set -q __fish_interactive_config_sourced
and begin and begin
# Abbrs # Abbrs
${abbrsStr} ${abbrsStr}
# Aliases # Aliases
${aliasesStr} ${aliasesStr}
${cfg.promptInit} ${cfg.promptInit}
${cfg.interactiveShellInit} ${cfg.interactiveShellInit}
# and leave a note so we don't source this config section again from # and leave a note so we don't source this config section again from