MyNixOS website logo
option

programs.zsh.promptInit

Shell script code used to initialise the zsh prompt.

Declarations
Type
strings concatenated with "\n"
Default
''
  # Note that to manually override this in ~/.zshrc you should run `prompt off`
  # before setting your PS1 and etc. Otherwise this will likely to interact with
  # your ~/.zshrc configuration in unexpected ways as the default prompt sets
  # a lot of different prompt variables.
  autoload -U promptinit && promptinit && prompt suse && setopt prompt_sp
''