1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 14:50:40 +02:00

chore: flake update

This commit is contained in:
oddlama 2025-04-26 11:48:17 +02:00
parent ced72fb7bb
commit 9f365bbb9c
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
9 changed files with 137 additions and 233 deletions

View file

@ -18,16 +18,18 @@
save = 1000500;
size = 1000000;
};
initExtra = lib.readFile ./zshrc;
initExtraFirst = ''
HISTDB_FILE=''${XDG_DATA_HOME-$HOME/.local/share}/zsh/history.db
initContent = lib.mkMerge [
(lib.mkBefore ''
HISTDB_FILE=''${XDG_DATA_HOME-$HOME/.local/share}/zsh/history.db
# Do this early so fast-syntax-highlighting can wrap and override this
if autoload history-search-end; then
zle -N history-beginning-search-backward-end history-search-end
zle -N history-beginning-search-forward-end history-search-end
fi
'';
# Do this early so fast-syntax-highlighting can wrap and override this
if autoload history-search-end; then
zle -N history-beginning-search-backward-end history-search-end
zle -N history-beginning-search-forward-end history-search-end
fi
'')
(lib.readFile ./zshrc)
];
plugins = [
{
# Must be before plugins that wrap widgets, such as zsh-autosuggestions or fast-syntax-highlighting