{ pkgs, config, ... }: { age.secrets.env = { file = ../../secrets/env.age; owner = "glen"; }; programs = { zsh = { enable = true; autosuggestions.enable = true; # Auto suggest options and highlights syntax, searches in history for options syntaxHighlighting.enable = true; enableCompletion = true; histSize = 100000; ohMyZsh = { # Extra plugins for zsh enable = true; plugins = ["git"]; }; shellInit = '' # Zsh theme eval "$(starship init zsh)" # Spaceship #source ${pkgs.spaceship-prompt}/share/zsh/site-functions/prompt_spaceship_setup #autoload -U promptinit; promptinit # Hook direnv #emulate zsh -c "$(direnv hook zsh)" # Swag #${pkgs.nitch}/bin/nitch #eval "$(direnv hook zsh)" eval "$(atuin init zsh)" clear pfetch source ${config.age.secrets.env.path} ''; }; }; }