diff options
| author | Freya Murphy <freya@freyacat.org> | 2025-12-16 20:39:35 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2025-12-16 20:39:35 -0500 |
| commit | 0bf96d85209e07711ff99bd6df2d0befc4d40f44 (patch) | |
| tree | 134ecc59c07af56531b860d78ecfe4a3640c688b /home/zsh | |
| parent | remove many programs dotfiles from homedir (diff) | |
| download | dotfiles-nix-0bf96d85209e07711ff99bd6df2d0befc4d40f44.tar.gz dotfiles-nix-0bf96d85209e07711ff99bd6df2d0befc4d40f44.tar.bz2 dotfiles-nix-0bf96d85209e07711ff99bd6df2d0befc4d40f44.zip | |
make zshrc load much faster
Diffstat (limited to 'home/zsh')
| -rw-r--r-- | home/zsh/default.nix | 7 | ||||
| -rw-r--r-- | home/zsh/zprofile | 3 | ||||
| -rw-r--r-- | home/zsh/zshrc | 4 |
3 files changed, 8 insertions, 6 deletions
diff --git a/home/zsh/default.nix b/home/zsh/default.nix index f6706af..92fd0ce 100644 --- a/home/zsh/default.nix +++ b/home/zsh/default.nix @@ -11,14 +11,17 @@ highlight = "fg=#${config.theme.colors.subtext}"; }; syntaxHighlighting.enable = true; + dotDir = "${config.xdg.configHome}/zsh"; + + # update conf history.size = 10000; profileExtra = lib.fileContents ./zprofile; initContent = lib.fileContents ./zshrc; - dotDir = "${config.xdg.configHome}/zsh"; + completionInit = ""; }; programs.zoxide = { enable = true; - enableZshIntegration = true; + enableZshIntegration = false; }; } diff --git a/home/zsh/zprofile b/home/zsh/zprofile index e159154..fc0fd72 100644 --- a/home/zsh/zprofile +++ b/home/zsh/zprofile @@ -3,6 +3,3 @@ if [ -n "$TMUX" ]; then return fi - -# setup homemanager -source /etc/profiles/per-user/"$USER"/etc/profile.d/hm-session-vars.sh diff --git a/home/zsh/zshrc b/home/zsh/zshrc index dbcc1cb..e9a1a10 100644 --- a/home/zsh/zshrc +++ b/home/zsh/zshrc @@ -28,9 +28,11 @@ fi bindkey -v tabs +# completion autoload compinit -compinit -d "$XDG_CACHE_HOME"/zsh/zcompdump-"$ZSH_VERSION" +compinit -C +# colors autoload -U colors && colors setopt promptsubst |