{ config, pkgs, ... }: let antigen = pkgs.callPackage (import ./antigen.nix) {}; in rec { programs.zsh.enable = true; programs.zsh.shellAliases = { less = "less -R"; ls = "ls --color=auto"; l = "ls -lhAF"; ll = "l --color=always L"; ".." = "cd .."; "nix-shell" = "nix-shell --command $(getent passwd $LOGNAME | cut -d: -f7)"; }; programs.zsh.interactiveShellInit = '' setopt clobber setopt nobeep alias -g L='|less' alias -g S='&> /dev/null' alias -g G='|grep --color=auto' alias -g B='&> /dev/null &!' cl() { cd; clear } ''; programs.zsh.promptInit = '' bindkey -e source ${antigen}/antigen.zsh antigen use oh-my-zsh antigen bundles <