fish: shell{Abbrs,Aliases} has more specific type

Converted attrs to attrsOf str.
This commit is contained in:
Ryan Orendorff 2019-09-23 22:05:21 -07:00 committed by Robert Helgesson
parent 0740c257b1
commit 4f532948f7
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -31,7 +31,7 @@ in
};
shellAliases = mkOption {
type = types.attrs;
type = with types; attrsOf str;
default = {};
example = { ".." = "cd .."; ll = "ls -l"; };
description = ''
@ -41,7 +41,7 @@ in
};
shellAbbrs = mkOption {
type = types.attrs;
type = with types; attrsOf str;
default = {};
example = { l = "less"; gco = "git checkout"; };
description = ''