zsh: break configuration dependency in documentation
Before the documentation for the `programs.zsh.history.path` had a dependency on the configuration.
This commit is contained in:
parent
64c5228c08
commit
90dd375eba
|
@ -56,6 +56,10 @@ let
|
|||
default = if versionAtLeast stateVersion "20.03"
|
||||
then "$HOME/.zsh_history"
|
||||
else relToDotDir ".zsh_history";
|
||||
defaultText = literalExample ''
|
||||
"$HOME/.zsh_history" if state version ≥ 20.03,
|
||||
"$ZDOTDIR/.zsh_history" otherwise
|
||||
'';
|
||||
example = literalExample ''"''${config.xdg.dataHome}/zsh/zsh_history"'';
|
||||
description = "History file location";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue