summaryrefslogtreecommitdiff
path: root/home/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'home/zsh')
-rw-r--r--home/zsh/default.nix7
-rw-r--r--home/zsh/zprofile3
-rw-r--r--home/zsh/zshrc4
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