You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 12, 2026. It is now read-only.
Originally posted by Roverp1 September 20, 2025
Hi! I wanted to ask question about source code.
I've noticed you configure history (with this weird setopt syntax) in home.sessionVariables. I'm curious why was it chosen over configuring history in shell.nix?
Does it make this configuration shell agnostic 🤔
# History configuration // explicit to not nuke historyHISTFILE="\${HISTFILE:-\$HOME/.zsh_history}";HISTSIZE="10000";SAVEHIST="10000";setopt_EXTENDED_HISTORY="true";setopt_INC_APPEND_HISTORY="true";setopt_SHARE_HISTORY="true";setopt_HIST_EXPIRE_DUPS_FIRST="true";setopt_HIST_IGNORE_DUPS="true";setopt_HIST_IGNORE_ALL_DUPS="true";
Makes sense to add the below in shell.nix instead
Discussed in #152
Originally posted by Roverp1 September 20, 2025
Hi! I wanted to ask question about source code.
I've noticed you configure history (with this weird setopt syntax) in home.sessionVariables. I'm curious why was it chosen over configuring history in shell.nix?
Does it make this configuration shell agnostic 🤔
code from xdg.nix