programs.zsh.initContent

Home-Manager option

Content to be added to .zshrc. To specify the order, use lib.mkOrder. Common order values: 500 (mkBefore): Early initialization (replaces initExtraFirst) 550: Before completion initialization (replaces initExtraBeforeCompInit) 1000 (default): General configuration (replaces initExtra) 1500 (mkAfter): Last to run configuration To specify both content in Early initialization and General configuration, use lib.mkMerge. e.g. initContent = let zshConfigEarlyInit = lib.mkOrder 500 “do something”; zshConfig = lib.mkOrder 1000 “do something”; in lib.mkMerge [ zshConfigEarlyInit zshConfig ];

type: strings concatenated with “\n”
Default
""
Example
lib.mkOrder 1200 ''' echo "Hello zsh initContent!" ''';
declared in: <home-manager/modules/programs/zsh>source unavailable