fish: shell{Abbrs,Aliases} has more specific type
Converted attrs to attrsOf str.
This commit is contained in:
parent
0740c257b1
commit
4f532948f7
|
@ -31,7 +31,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
shellAliases = mkOption {
|
shellAliases = mkOption {
|
||||||
type = types.attrs;
|
type = with types; attrsOf str;
|
||||||
default = {};
|
default = {};
|
||||||
example = { ".." = "cd .."; ll = "ls -l"; };
|
example = { ".." = "cd .."; ll = "ls -l"; };
|
||||||
description = ''
|
description = ''
|
||||||
|
@ -41,7 +41,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
shellAbbrs = mkOption {
|
shellAbbrs = mkOption {
|
||||||
type = types.attrs;
|
type = with types; attrsOf str;
|
||||||
default = {};
|
default = {};
|
||||||
example = { l = "less"; gco = "git checkout"; };
|
example = { l = "less"; gco = "git checkout"; };
|
||||||
description = ''
|
description = ''
|
||||||
|
|
Loading…
Reference in a new issue