Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "options", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, ], }, ), body: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 5, column: 6, }, end: Position { line: 5, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfge", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 7, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 9, column: 10, }, end: Position { line: 9, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 9, column: 17, }, end: Position { line: 9, column: 28, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 11, column: 3, }, end: Position { line: 11, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 11, column: 9, }, end: Position { line: 11, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "programs", span: Span { start: Position { line: 11, column: 16, }, end: Position { line: 11, column: 24, }, }, }, ), Raw( PartRaw { content: "zsh", span: Span { start: Position { line: 11, column: 25, }, end: Position { line: 11, column: 28, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "opt", span: Span { start: Position { line: 12, column: 3, }, end: Position { line: 12, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "options", span: Span { start: Position { line: 12, column: 9, }, end: Position { line: 12, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "programs", span: Span { start: Position { line: 12, column: 17, }, end: Position { line: 12, column: 25, }, }, }, ), Raw( PartRaw { content: "zsh", span: Span { start: Position { line: 12, column: 26, }, end: Position { line: 12, column: 29, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "zshAliases", span: Span { start: Position { line: 14, column: 3, }, end: Position { line: 14, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 14, column: 16, }, end: Position { line: 14, column: 32, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 14, column: 34, }, end: Position { line: 14, column: 36, }, }, }, ), ], span: Span { start: Position { line: 14, column: 33, }, end: Position { line: 14, column: 37, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrsFlatten", span: Span { start: Position { line: 15, column: 5, }, end: Position { line: 15, column: 20, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "k", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: String( String_ { parts: [ Raw( PartRaw { content: "alias ", span: Span { start: Position { line: 15, column: 29, }, end: Position { line: 15, column: 39, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "k", span: Span { start: Position { line: 15, column: 37, }, end: Position { line: 15, column: 38, }, }, }, ), }, ), Raw( PartRaw { content: "=", span: Span { start: Position { line: 15, column: 29, }, end: Position { line: 15, column: 40, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "escapeShellArg", span: Span { start: Position { line: 15, column: 42, }, end: Position { line: 15, column: 56, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 15, column: 57, }, end: Position { line: 15, column: 58, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 15, column: 28, }, end: Position { line: 15, column: 60, }, }, }, ), span: Span { start: Position { line: 15, column: 25, }, end: Position { line: 15, column: 60, }, }, }, ), span: Span { start: Position { line: 15, column: 22, }, end: Position { line: 15, column: 60, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "filterAttrs", span: Span { start: Position { line: 16, column: 8, }, end: Position { line: 16, column: 19, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "k", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "v", span: Span { start: Position { line: 16, column: 27, }, end: Position { line: 16, column: 28, }, }, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 16, column: 32, }, end: Position { line: 16, column: 36, }, }, }, ), }, ), span: Span { start: Position { line: 16, column: 24, }, end: Position { line: 16, column: 36, }, }, }, ), span: Span { start: Position { line: 16, column: 21, }, end: Position { line: 16, column: 36, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 16, column: 38, }, end: Position { line: 16, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "shellAliases", span: Span { start: Position { line: 16, column: 42, }, end: Position { line: 16, column: 54, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "zshStartupNotes", span: Span { start: Position { line: 19, column: 3, }, end: Position { line: 19, column: 18, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# Note that generated /etc/zprofile and /etc/zshrc files do a lot of\n# non-standard setup to make zsh usable with no configuration by default.\n#\n# Which means that unless you explicitly meticulously override everything\n# generated, interactions between your ~/.zshrc and these files are likely\n# to be rather surprising.\n#\n# Note however, that you can disable loading of the generated /etc/zprofile\n# and /etc/zshrc (you can't disable loading of /etc/zshenv, but it is\n# designed to not set anything surprising) by setting `no_global_rcs` option\n# in ~/.zshenv:\n#\n# echo setopt no_global_rcs >> ~/.zshenv\n#\n# See \"STARTUP/SHUTDOWN FILES\" section of zsh(1) for more info.\n", span: Span { start: Position { line: 20, column: 1, }, end: Position { line: 35, column: 3, }, }, }, ), ], span: Span { start: Position { line: 19, column: 21, }, end: Position { line: 35, column: 5, }, }, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 41, column: 3, }, end: Position { line: 41, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "programs", span: Span { start: Position { line: 43, column: 5, }, end: Position { line: 43, column: 13, }, }, }, ), Raw( PartRaw { content: "zsh", span: Span { start: Position { line: 43, column: 14, }, end: Position { line: 43, column: 17, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 45, column: 7, }, end: Position { line: 45, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 45, column: 16, }, end: Position { line: 45, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 46, column: 9, }, end: Position { line: 46, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 46, column: 19, }, end: Position { line: 46, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 47, column: 9, }, end: Position { line: 47, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 47, column: 23, }, end: Position { line: 47, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 47, column: 27, }, end: Position { line: 47, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether to configure zsh as an interactive shell. To enable zsh for\na particular user, use the {option}`users.users..shell`\noption for that user. To enable zsh system-wide use the\n{option}`users.defaultUserShell` option.\n", span: Span { start: Position { line: 48, column: 1, }, end: Position { line: 52, column: 9, }, }, }, ), ], span: Span { start: Position { line: 47, column: 33, }, end: Position { line: 52, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 53, column: 9, }, end: Position { line: 53, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 53, column: 16, }, end: Position { line: 53, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 53, column: 22, }, end: Position { line: 53, column: 26, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 45, column: 25, }, end: Position { line: 54, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "shellAliases", span: Span { start: Position { line: 56, column: 7, }, end: Position { line: 56, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 56, column: 22, }, end: Position { line: 56, column: 30, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 57, column: 9, }, end: Position { line: 57, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 57, column: 19, }, end: Position { line: 57, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 58, column: 9, }, end: Position { line: 58, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 58, column: 23, }, end: Position { line: 58, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 58, column: 27, }, end: Position { line: 58, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Set of aliases for zsh shell, which overrides {option}`environment.shellAliases`.\nSee {option}`environment.shellAliases` for an option format description.\n", span: Span { start: Position { line: 59, column: 1, }, end: Position { line: 61, column: 9, }, }, }, ), ], span: Span { start: Position { line: 58, column: 33, }, end: Position { line: 61, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 62, column: 9, }, end: Position { line: 62, column: 13, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 62, column: 21, }, end: Position { line: 62, column: 26, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 62, column: 28, }, end: Position { line: 62, column: 35, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "nullOr", span: Span { start: Position { line: 62, column: 37, }, end: Position { line: 62, column: 43, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "either", span: Span { start: Position { line: 62, column: 45, }, end: Position { line: 62, column: 51, }, }, }, ), arguments: [ Identifier( Identifier { id: "str", span: Span { start: Position { line: 62, column: 52, }, end: Position { line: 62, column: 55, }, }, }, ), Identifier( Identifier { id: "path", span: Span { start: Position { line: 62, column: 56, }, end: Position { line: 62, column: 60, }, }, }, ), ], }, ), ], }, ), ], }, ), span: Span { start: Position { line: 62, column: 16, }, end: Position { line: 62, column: 62, }, }, }, ), }, ), ], span: Span { start: Position { line: 56, column: 31, }, end: Position { line: 63, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "shellInit", span: Span { start: Position { line: 65, column: 7, }, end: Position { line: 65, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 65, column: 19, }, end: Position { line: 65, column: 27, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 66, column: 9, }, end: Position { line: 66, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 66, column: 19, }, end: Position { line: 66, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 67, column: 9, }, end: Position { line: 67, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 67, column: 23, }, end: Position { line: 67, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 67, column: 27, }, end: Position { line: 67, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Shell script code called during zsh shell initialisation.\n", span: Span { start: Position { line: 68, column: 1, }, end: Position { line: 69, column: 9, }, }, }, ), ], span: Span { start: Position { line: 67, column: 33, }, end: Position { line: 69, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 70, column: 9, }, end: Position { line: 70, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 70, column: 16, }, end: Position { line: 70, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 70, column: 22, }, end: Position { line: 70, column: 27, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 65, column: 28, }, end: Position { line: 71, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "loginShellInit", span: Span { start: Position { line: 73, column: 7, }, end: Position { line: 73, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 73, column: 24, }, end: Position { line: 73, column: 32, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 74, column: 9, }, end: Position { line: 74, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 74, column: 19, }, end: Position { line: 74, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 75, column: 9, }, end: Position { line: 75, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 75, column: 23, }, end: Position { line: 75, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 75, column: 27, }, end: Position { line: 75, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Shell script code called during zsh login shell initialisation.\n", span: Span { start: Position { line: 76, column: 1, }, end: Position { line: 77, column: 9, }, }, }, ), ], span: Span { start: Position { line: 75, column: 33, }, end: Position { line: 77, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 78, column: 9, }, end: Position { line: 78, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 78, column: 16, }, end: Position { line: 78, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 78, column: 22, }, end: Position { line: 78, column: 27, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 73, column: 33, }, end: Position { line: 79, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "interactiveShellInit", span: Span { start: Position { line: 81, column: 7, }, end: Position { line: 81, column: 27, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 81, column: 30, }, end: Position { line: 81, column: 38, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 82, column: 9, }, end: Position { line: 82, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 82, column: 19, }, end: Position { line: 82, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 83, column: 9, }, end: Position { line: 83, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 83, column: 23, }, end: Position { line: 83, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 83, column: 27, }, end: Position { line: 83, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Shell script code called during interactive zsh shell initialisation.\n", span: Span { start: Position { line: 84, column: 1, }, end: Position { line: 85, column: 9, }, }, }, ), ], span: Span { start: Position { line: 83, column: 33, }, end: Position { line: 85, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 86, column: 9, }, end: Position { line: 86, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 86, column: 16, }, end: Position { line: 86, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 86, column: 22, }, end: Position { line: 86, column: 27, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 81, column: 39, }, end: Position { line: 87, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "promptInit", span: Span { start: Position { line: 89, column: 7, }, end: Position { line: 89, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 89, column: 20, }, end: Position { line: 89, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 90, column: 9, }, end: Position { line: 90, column: 16, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# Note that to manually override this in ~/.zshrc you should run `prompt off`\n# before setting your PS1 and etc. Otherwise this will likely to interact with\n# your ~/.zshrc configuration in unexpected ways as the default prompt sets\n# a lot of different prompt variables.\nautoload -U promptinit && promptinit && prompt suse && setopt prompt_sp\n", span: Span { start: Position { line: 91, column: 1, }, end: Position { line: 96, column: 9, }, }, }, ), ], span: Span { start: Position { line: 90, column: 19, }, end: Position { line: 96, column: 11, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 97, column: 9, }, end: Position { line: 97, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 97, column: 23, }, end: Position { line: 97, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 97, column: 27, }, end: Position { line: 97, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Shell script code used to initialise the zsh prompt.\n", span: Span { start: Position { line: 98, column: 1, }, end: Position { line: 99, column: 9, }, }, }, ), ], span: Span { start: Position { line: 97, column: 33, }, end: Position { line: 99, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 100, column: 9, }, end: Position { line: 100, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 100, column: 16, }, end: Position { line: 100, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 100, column: 22, }, end: Position { line: 100, column: 27, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 89, column: 29, }, end: Position { line: 101, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "histSize", span: Span { start: Position { line: 103, column: 7, }, end: Position { line: 103, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 103, column: 18, }, end: Position { line: 103, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 104, column: 9, }, end: Position { line: 104, column: 16, }, }, }, ), ], to: Integer( Integer { value: "2000", span: Span { start: Position { line: 104, column: 19, }, end: Position { line: 104, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 105, column: 9, }, end: Position { line: 105, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 105, column: 23, }, end: Position { line: 105, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 105, column: 27, }, end: Position { line: 105, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Change history size.\n", span: Span { start: Position { line: 106, column: 1, }, end: Position { line: 107, column: 9, }, }, }, ), ], span: Span { start: Position { line: 105, column: 33, }, end: Position { line: 107, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 108, column: 9, }, end: Position { line: 108, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 108, column: 16, }, end: Position { line: 108, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 108, column: 22, }, end: Position { line: 108, column: 25, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 103, column: 27, }, end: Position { line: 109, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "histFile", span: Span { start: Position { line: 111, column: 7, }, end: Position { line: 111, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 111, column: 18, }, end: Position { line: 111, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 112, column: 9, }, end: Position { line: 112, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "$HOME/.zsh_history", span: Span { start: Position { line: 112, column: 20, }, end: Position { line: 112, column: 38, }, }, }, ), ], span: Span { start: Position { line: 112, column: 19, }, end: Position { line: 112, column: 39, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 113, column: 9, }, end: Position { line: 113, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 113, column: 23, }, end: Position { line: 113, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 113, column: 27, }, end: Position { line: 113, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Change history file.\n", span: Span { start: Position { line: 114, column: 1, }, end: Position { line: 115, column: 9, }, }, }, ), ], span: Span { start: Position { line: 113, column: 33, }, end: Position { line: 115, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 116, column: 9, }, end: Position { line: 116, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 116, column: 16, }, end: Position { line: 116, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 116, column: 22, }, end: Position { line: 116, column: 25, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 111, column: 27, }, end: Position { line: 117, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "setOptions", span: Span { start: Position { line: 119, column: 7, }, end: Position { line: 119, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 119, column: 20, }, end: Position { line: 119, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 120, column: 9, }, end: Position { line: 120, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 120, column: 16, }, end: Position { line: 120, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 120, column: 22, }, end: Position { line: 120, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 120, column: 29, }, end: Position { line: 120, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 120, column: 35, }, end: Position { line: 120, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 121, column: 9, }, end: Position { line: 121, column: 16, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "HIST_IGNORE_DUPS", span: Span { start: Position { line: 122, column: 12, }, end: Position { line: 122, column: 28, }, }, }, ), ], span: Span { start: Position { line: 122, column: 11, }, end: Position { line: 122, column: 29, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "SHARE_HISTORY", span: Span { start: Position { line: 123, column: 12, }, end: Position { line: 123, column: 25, }, }, }, ), ], span: Span { start: Position { line: 123, column: 11, }, end: Position { line: 123, column: 26, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "HIST_FCNTL_LOCK", span: Span { start: Position { line: 124, column: 12, }, end: Position { line: 124, column: 27, }, }, }, ), ], span: Span { start: Position { line: 124, column: 11, }, end: Position { line: 124, column: 28, }, }, }, ), ], span: Span { start: Position { line: 121, column: 19, }, end: Position { line: 125, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 126, column: 9, }, end: Position { line: 126, column: 16, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "EXTENDED_HISTORY", span: Span { start: Position { line: 126, column: 22, }, end: Position { line: 126, column: 38, }, }, }, ), ], span: Span { start: Position { line: 126, column: 21, }, end: Position { line: 126, column: 39, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "RM_STAR_WAIT", span: Span { start: Position { line: 126, column: 41, }, end: Position { line: 126, column: 53, }, }, }, ), ], span: Span { start: Position { line: 126, column: 40, }, end: Position { line: 126, column: 54, }, }, }, ), ], span: Span { start: Position { line: 126, column: 19, }, end: Position { line: 126, column: 56, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 127, column: 9, }, end: Position { line: 127, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 127, column: 23, }, end: Position { line: 127, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 127, column: 27, }, end: Position { line: 127, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Configure zsh options. See\n{manpage}`zshoptions(1)`.\n", span: Span { start: Position { line: 128, column: 1, }, end: Position { line: 130, column: 9, }, }, }, ), ], span: Span { start: Position { line: 127, column: 33, }, end: Position { line: 130, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 119, column: 29, }, end: Position { line: 131, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enableCompletion", span: Span { start: Position { line: 133, column: 7, }, end: Position { line: 133, column: 23, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 133, column: 26, }, end: Position { line: 133, column: 34, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 134, column: 9, }, end: Position { line: 134, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 134, column: 19, }, end: Position { line: 134, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 135, column: 9, }, end: Position { line: 135, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 135, column: 23, }, end: Position { line: 135, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 135, column: 27, }, end: Position { line: 135, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Enable zsh completion for all interactive zsh shells.\n", span: Span { start: Position { line: 136, column: 1, }, end: Position { line: 137, column: 9, }, }, }, ), ], span: Span { start: Position { line: 135, column: 33, }, end: Position { line: 137, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 138, column: 9, }, end: Position { line: 138, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 138, column: 16, }, end: Position { line: 138, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 138, column: 22, }, end: Position { line: 138, column: 26, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 133, column: 35, }, end: Position { line: 139, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enableBashCompletion", span: Span { start: Position { line: 141, column: 7, }, end: Position { line: 141, column: 27, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 141, column: 30, }, end: Position { line: 141, column: 38, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 142, column: 9, }, end: Position { line: 142, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 142, column: 19, }, end: Position { line: 142, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 143, column: 9, }, end: Position { line: 143, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 143, column: 23, }, end: Position { line: 143, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 143, column: 27, }, end: Position { line: 143, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Enable compatibility with bash's programmable completion system.\n", span: Span { start: Position { line: 144, column: 1, }, end: Position { line: 145, column: 9, }, }, }, ), ], span: Span { start: Position { line: 143, column: 33, }, end: Position { line: 145, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 146, column: 9, }, end: Position { line: 146, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 146, column: 16, }, end: Position { line: 146, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 146, column: 22, }, end: Position { line: 146, column: 26, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 141, column: 39, }, end: Position { line: 147, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enableGlobalCompInit", span: Span { start: Position { line: 149, column: 7, }, end: Position { line: 149, column: 27, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 149, column: 30, }, end: Position { line: 149, column: 38, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 150, column: 9, }, end: Position { line: 150, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 150, column: 19, }, end: Position { line: 150, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enableCompletion", span: Span { start: Position { line: 150, column: 23, }, end: Position { line: 150, column: 39, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 151, column: 9, }, end: Position { line: 151, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 151, column: 23, }, end: Position { line: 151, column: 40, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "config.", span: Span { start: Position { line: 151, column: 42, }, end: Position { line: 151, column: 72, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 151, column: 51, }, end: Position { line: 151, column: 54, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enableCompletion", span: Span { start: Position { line: 151, column: 55, }, end: Position { line: 151, column: 71, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 151, column: 41, }, end: Position { line: 151, column: 73, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 152, column: 9, }, end: Position { line: 152, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 152, column: 23, }, end: Position { line: 152, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 152, column: 27, }, end: Position { line: 152, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Enable execution of compinit call for all interactive zsh shells.\n\nThis option can be disabled if the user wants to extend its\n`fpath` and a custom `compinit`\ncall in the local config is required.\n", span: Span { start: Position { line: 153, column: 1, }, end: Position { line: 158, column: 9, }, }, }, ), ], span: Span { start: Position { line: 152, column: 33, }, end: Position { line: 158, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 159, column: 9, }, end: Position { line: 159, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 159, column: 16, }, end: Position { line: 159, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 159, column: 22, }, end: Position { line: 159, column: 26, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 149, column: 39, }, end: Position { line: 160, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 43, column: 20, }, end: Position { line: 162, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 41, column: 13, }, end: Position { line: 164, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 166, column: 3, }, end: Position { line: 166, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 166, column: 12, }, end: Position { line: 166, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 166, column: 17, }, end: Position { line: 166, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 166, column: 21, }, end: Position { line: 166, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "programs", span: Span { start: Position { line: 168, column: 5, }, end: Position { line: 168, column: 13, }, }, }, ), Raw( PartRaw { content: "zsh", span: Span { start: Position { line: 168, column: 14, }, end: Position { line: 168, column: 17, }, }, }, ), Raw( PartRaw { content: "shellAliases", span: Span { start: Position { line: 168, column: 18, }, end: Position { line: 168, column: 30, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrs", span: Span { start: Position { line: 168, column: 33, }, end: Position { line: 168, column: 41, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 168, column: 49, }, end: Position { line: 168, column: 58, }, }, }, ), span: Span { start: Position { line: 168, column: 43, }, end: Position { line: 168, column: 58, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfge", span: Span { start: Position { line: 168, column: 60, }, end: Position { line: 168, column: 64, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "shellAliases", span: Span { start: Position { line: 168, column: 65, }, end: Position { line: 168, column: 77, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 170, column: 5, }, end: Position { line: 170, column: 16, }, }, }, ), Raw( PartRaw { content: "etc", span: Span { start: Position { line: 170, column: 17, }, end: Position { line: 170, column: 20, }, }, }, ), Raw( PartRaw { content: "zshenv", span: Span { start: Position { line: 170, column: 21, }, end: Position { line: 170, column: 27, }, }, }, ), Raw( PartRaw { content: "text", span: Span { start: Position { line: 170, column: 28, }, end: Position { line: 170, column: 32, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# /etc/zshenv: DO NOT EDIT -- this file has been generated automatically.\n# This file is read for all shells.\n\n# Only execute this file once per shell.\nif [ -n \"$__ETC_ZSHENV_SOURCED\" ]; then return; fi\n__ETC_ZSHENV_SOURCED=1\n\nif [ -z \"$__NIXOS_SET_ENVIRONMENT_DONE\" ]; then\n . ", span: Span { start: Position { line: 172, column: 1, }, end: Position { line: 180, column: 15, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 180, column: 17, }, end: Position { line: 180, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 180, column: 24, }, end: Position { line: 180, column: 30, }, }, }, ), Raw( PartRaw { content: "build", span: Span { start: Position { line: 180, column: 31, }, end: Position { line: 180, column: 36, }, }, }, ), Raw( PartRaw { content: "setEnvironment", span: Span { start: Position { line: 180, column: 37, }, end: Position { line: 180, column: 51, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\nfi\n\nHELPDIR=\"", span: Span { start: Position { line: 172, column: 1, }, end: Position { line: 183, column: 18, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 183, column: 20, }, end: Position { line: 183, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "zsh", span: Span { start: Position { line: 183, column: 25, }, end: Position { line: 183, column: 28, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/share/zsh/$ZSH_VERSION/help\"\n\n# Tell zsh how to find installed completions.\nfor p in ", span: Span { start: Position { line: 172, column: 1, }, end: Position { line: 186, column: 18, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 172, column: 1, }, end: Position { line: 186, column: 21, }, }, }, ), Raw( PartRaw { content: "{(z)NIX_PROFILES}; do\n fpath=($p/share/zsh/site-functions $p/share/zsh/$ZSH_VERSION/functions $p/share/zsh/vendor-completions $fpath)\ndone\n\n# Setup custom shell init stuff.\n", span: Span { start: Position { line: 172, column: 1, }, end: Position { line: 191, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfge", span: Span { start: Position { line: 191, column: 11, }, end: Position { line: 191, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "shellInit", span: Span { start: Position { line: 191, column: 16, }, end: Position { line: 191, column: 25, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n\n", span: Span { start: Position { line: 172, column: 1, }, end: Position { line: 193, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 193, column: 11, }, end: Position { line: 193, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "shellInit", span: Span { start: Position { line: 193, column: 15, }, end: Position { line: 193, column: 24, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n\n# Read system-wide modifications.\nif test -f /etc/zshenv.local; then\n . /etc/zshenv.local\nfi\n", span: Span { start: Position { line: 172, column: 1, }, end: Position { line: 199, column: 7, }, }, }, ), ], span: Span { start: Position { line: 171, column: 7, }, end: Position { line: 199, column: 9, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 201, column: 5, }, end: Position { line: 201, column: 16, }, }, }, ), Raw( PartRaw { content: "etc", span: Span { start: Position { line: 201, column: 17, }, end: Position { line: 201, column: 20, }, }, }, ), Raw( PartRaw { content: "zprofile", span: Span { start: Position { line: 201, column: 21, }, end: Position { line: 201, column: 29, }, }, }, ), Raw( PartRaw { content: "text", span: Span { start: Position { line: 201, column: 30, }, end: Position { line: 201, column: 34, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# /etc/zprofile: DO NOT EDIT -- this file has been generated automatically.\n# This file is read for login shells.\n#\n", span: Span { start: Position { line: 203, column: 1, }, end: Position { line: 206, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "zshStartupNotes", span: Span { start: Position { line: 206, column: 11, }, end: Position { line: 206, column: 26, }, }, }, ), }, ), Raw( PartRaw { content: "\n\n# Only execute this file once per shell.\nif [ -n \"$__ETC_ZPROFILE_SOURCED\" ]; then return; fi\n__ETC_ZPROFILE_SOURCED=1\n\n# Setup custom login shell init stuff.\n", span: Span { start: Position { line: 203, column: 1, }, end: Position { line: 213, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfge", span: Span { start: Position { line: 213, column: 11, }, end: Position { line: 213, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "loginShellInit", span: Span { start: Position { line: 213, column: 16, }, end: Position { line: 213, column: 30, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n\n", span: Span { start: Position { line: 203, column: 1, }, end: Position { line: 215, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 215, column: 11, }, end: Position { line: 215, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "loginShellInit", span: Span { start: Position { line: 215, column: 15, }, end: Position { line: 215, column: 29, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n\n# Read system-wide modifications.\nif test -f /etc/zprofile.local; then\n . /etc/zprofile.local\nfi\n", span: Span { start: Position { line: 203, column: 1, }, end: Position { line: 221, column: 7, }, }, }, ), ], span: Span { start: Position { line: 202, column: 7, }, end: Position { line: 221, column: 9, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 223, column: 5, }, end: Position { line: 223, column: 16, }, }, }, ), Raw( PartRaw { content: "etc", span: Span { start: Position { line: 223, column: 17, }, end: Position { line: 223, column: 20, }, }, }, ), Raw( PartRaw { content: "zshrc", span: Span { start: Position { line: 223, column: 21, }, end: Position { line: 223, column: 26, }, }, }, ), Raw( PartRaw { content: "text", span: Span { start: Position { line: 223, column: 27, }, end: Position { line: 223, column: 31, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# /etc/zshrc: DO NOT EDIT -- this file has been generated automatically.\n# This file is read for interactive shells.\n#\n", span: Span { start: Position { line: 225, column: 1, }, end: Position { line: 228, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "zshStartupNotes", span: Span { start: Position { line: 228, column: 11, }, end: Position { line: 228, column: 26, }, }, }, ), }, ), Raw( PartRaw { content: "\n\n# Only execute this file once per shell.\nif [ -n \"$__ETC_ZSHRC_SOURCED\" -o -n \"$NOSYSZSHRC\" ]; then return; fi\n__ETC_ZSHRC_SOURCED=1\n\n", span: Span { start: Position { line: 225, column: 1, }, end: Position { line: 234, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 234, column: 11, }, end: Position { line: 234, column: 25, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 234, column: 27, }, end: Position { line: 234, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "setOptions", span: Span { start: Position { line: 234, column: 31, }, end: Position { line: 234, column: 41, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: List( List { elements: [], span: Span { start: Position { line: 234, column: 45, }, end: Position { line: 234, column: 47, }, }, }, ), }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# Set zsh options.\nsetopt ", span: Span { start: Position { line: 235, column: 1, }, end: Position { line: 236, column: 18, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 236, column: 20, }, end: Position { line: 236, column: 36, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: " ", span: Span { start: Position { line: 236, column: 38, }, end: Position { line: 236, column: 39, }, }, }, ), ], span: Span { start: Position { line: 236, column: 37, }, end: Position { line: 236, column: 40, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 236, column: 41, }, end: Position { line: 236, column: 44, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "setOptions", span: Span { start: Position { line: 236, column: 45, }, end: Position { line: 236, column: 55, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 235, column: 1, }, end: Position { line: 237, column: 9, }, }, }, ), ], span: Span { start: Position { line: 234, column: 49, }, end: Position { line: 237, column: 11, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n\n# Setup command line history.\n# Don't export these, otherwise other shells (bash) will try to use same HISTFILE.\nSAVEHIST=", span: Span { start: Position { line: 225, column: 1, }, end: Position { line: 241, column: 18, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 241, column: 20, }, end: Position { line: 241, column: 28, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 241, column: 29, }, end: Position { line: 241, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "histSize", span: Span { start: Position { line: 241, column: 33, }, end: Position { line: 241, column: 41, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\nHISTSIZE=", span: Span { start: Position { line: 225, column: 1, }, end: Position { line: 242, column: 18, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 242, column: 20, }, end: Position { line: 242, column: 28, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 242, column: 29, }, end: Position { line: 242, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "histSize", span: Span { start: Position { line: 242, column: 33, }, end: Position { line: 242, column: 41, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\nHISTFILE=", span: Span { start: Position { line: 225, column: 1, }, end: Position { line: 243, column: 18, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 243, column: 20, }, end: Position { line: 243, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "histFile", span: Span { start: Position { line: 243, column: 24, }, end: Position { line: 243, column: 32, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n\n# Configure sane keyboard defaults.\n. /etc/zinputrc\n\n", span: Span { start: Position { line: 225, column: 1, }, end: Position { line: 248, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 248, column: 11, }, end: Position { line: 248, column: 25, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 248, column: 26, }, end: Position { line: 248, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enableGlobalCompInit", span: Span { start: Position { line: 248, column: 30, }, end: Position { line: 248, column: 50, }, }, }, ), ], default: None, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# Enable autocompletion.\nautoload -U compinit && compinit\n", span: Span { start: Position { line: 249, column: 1, }, end: Position { line: 251, column: 9, }, }, }, ), ], span: Span { start: Position { line: 248, column: 51, }, end: Position { line: 251, column: 11, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n\n", span: Span { start: Position { line: 225, column: 1, }, end: Position { line: 253, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 253, column: 11, }, end: Position { line: 253, column: 25, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 253, column: 26, }, end: Position { line: 253, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enableBashCompletion", span: Span { start: Position { line: 253, column: 30, }, end: Position { line: 253, column: 50, }, }, }, ), ], default: None, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# Enable compatibility with bash's completion system.\nautoload -U bashcompinit && bashcompinit\n", span: Span { start: Position { line: 254, column: 1, }, end: Position { line: 256, column: 9, }, }, }, ), ], span: Span { start: Position { line: 253, column: 51, }, end: Position { line: 256, column: 11, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n\n# Setup custom interactive shell init stuff.\n", span: Span { start: Position { line: 225, column: 1, }, end: Position { line: 259, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfge", span: Span { start: Position { line: 259, column: 11, }, end: Position { line: 259, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "interactiveShellInit", span: Span { start: Position { line: 259, column: 16, }, end: Position { line: 259, column: 36, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n\n", span: Span { start: Position { line: 225, column: 1, }, end: Position { line: 261, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 261, column: 11, }, end: Position { line: 261, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "interactiveShellInit", span: Span { start: Position { line: 261, column: 15, }, end: Position { line: 261, column: 35, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n\n# Setup aliases.\n", span: Span { start: Position { line: 225, column: 1, }, end: Position { line: 264, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "zshAliases", span: Span { start: Position { line: 264, column: 11, }, end: Position { line: 264, column: 21, }, }, }, ), }, ), Raw( PartRaw { content: "\n\n# Setup prompt.\n", span: Span { start: Position { line: 225, column: 1, }, end: Position { line: 267, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 267, column: 11, }, end: Position { line: 267, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "promptInit", span: Span { start: Position { line: 267, column: 15, }, end: Position { line: 267, column: 25, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n\n# Disable some features to support TRAMP.\nif [ \"$TERM\" = dumb ]; then\n unsetopt zle prompt_cr prompt_subst\n unset RPS1 RPROMPT\n PS1=", span: Span { start: Position { line: 225, column: 1, }, end: Position { line: 273, column: 17, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 225, column: 1, }, end: Position { line: 273, column: 18, }, }, }, ), Raw( PartRaw { content: "$ '\n PROMPT=", span: Span { start: Position { line: 225, column: 1, }, end: Position { line: 274, column: 20, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 225, column: 1, }, end: Position { line: 274, column: 21, }, }, }, ), Raw( PartRaw { content: "$ '\nfi\n\n# Read system-wide modifications.\nif test -f /etc/zshrc.local; then\n . /etc/zshrc.local\nfi\n", span: Span { start: Position { line: 225, column: 1, }, end: Position { line: 281, column: 7, }, }, }, ), ], span: Span { start: Position { line: 224, column: 7, }, end: Position { line: 281, column: 9, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 286, column: 5, }, end: Position { line: 286, column: 16, }, }, }, ), Raw( PartRaw { content: "etc", span: Span { start: Position { line: 286, column: 17, }, end: Position { line: 286, column: 20, }, }, }, ), Raw( PartRaw { content: "zinputrc", span: Span { start: Position { line: 286, column: 21, }, end: Position { line: 286, column: 29, }, }, }, ), Raw( PartRaw { content: "text", span: Span { start: Position { line: 286, column: 30, }, end: Position { line: 286, column: 34, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 286, column: 37, }, end: Position { line: 286, column: 45, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "readFile", span: Span { start: Position { line: 286, column: 46, }, end: Position { line: 286, column: 54, }, }, }, ), ], default: None, }, ), arguments: [ Path( Path { parts: [ Raw( PartRaw { content: "./zinputrc", span: Span { start: Position { line: 286, column: 55, }, end: Position { line: 286, column: 65, }, }, }, ), ], span: Span { start: Position { line: 286, column: 55, }, end: Position { line: 286, column: 65, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 288, column: 5, }, end: Position { line: 288, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 288, column: 17, }, end: Position { line: 288, column: 31, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 288, column: 36, }, end: Position { line: 288, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "zsh", span: Span { start: Position { line: 288, column: 41, }, end: Position { line: 288, column: 44, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 288, column: 34, }, end: Position { line: 288, column: 46, }, }, }, ), operator: Concatenation, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 289, column: 10, }, end: Position { line: 289, column: 18, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 289, column: 19, }, end: Position { line: 289, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enableCompletion", span: Span { start: Position { line: 289, column: 23, }, end: Position { line: 289, column: 39, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 289, column: 40, }, end: Position { line: 289, column: 44, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nix-zsh-completions", span: Span { start: Position { line: 289, column: 45, }, end: Position { line: 289, column: 64, }, }, }, ), ], default: None, }, ), ], }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 291, column: 5, }, end: Position { line: 291, column: 16, }, }, }, ), Raw( PartRaw { content: "pathsToLink", span: Span { start: Position { line: 291, column: 17, }, end: Position { line: 291, column: 28, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 291, column: 31, }, end: Position { line: 291, column: 39, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 291, column: 40, }, end: Position { line: 291, column: 43, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enableCompletion", span: Span { start: Position { line: 291, column: 44, }, end: Position { line: 291, column: 60, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "/share/zsh", span: Span { start: Position { line: 291, column: 62, }, end: Position { line: 291, column: 72, }, }, }, ), ], span: Span { start: Position { line: 291, column: 61, }, end: Position { line: 291, column: 73, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 295, column: 5, }, end: Position { line: 295, column: 16, }, }, }, ), Raw( PartRaw { content: "shells", span: Span { start: Position { line: 295, column: 17, }, end: Position { line: 295, column: 23, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "/run/current-system/sw/bin/zsh", span: Span { start: Position { line: 297, column: 10, }, end: Position { line: 297, column: 40, }, }, }, ), ], span: Span { start: Position { line: 297, column: 9, }, end: Position { line: 297, column: 41, }, }, }, ), String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 298, column: 12, }, end: Position { line: 298, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "zsh", span: Span { start: Position { line: 298, column: 17, }, end: Position { line: 298, column: 20, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/zsh", span: Span { start: Position { line: 298, column: 10, }, end: Position { line: 298, column: 29, }, }, }, ), ], span: Span { start: Position { line: 298, column: 9, }, end: Position { line: 298, column: 30, }, }, }, ), ], span: Span { start: Position { line: 296, column: 7, }, end: Position { line: 299, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 166, column: 28, }, end: Position { line: 301, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 39, column: 1, }, end: Position { line: 303, column: 2, }, }, }, ), span: Span { start: Position { line: 7, column: 1, }, end: Position { line: 303, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 303, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 303, column: 2, }, }, }, )