summaryrefslogtreecommitdiff
path: root/home/zsh/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/zsh/default.nix')
-rw-r--r--home/zsh/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/home/zsh/default.nix b/home/zsh/default.nix
index 5de1c7c..b5f17ea 100644
--- a/home/zsh/default.nix
+++ b/home/zsh/default.nix
@@ -1,4 +1,4 @@
-{config, ...}: {
+{config, pkgs, ...}: {
programs.zsh = {
enable = true;
enableCompletion = true;
@@ -12,6 +12,10 @@
home.file = {
".zshrc".source = ./zshrc;
".zprofile".source = ./zprofile;
+ ".nixenv".source = pkgs.writeText "nixenv" ''
+ # nix shell env auto generated file
+ export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=#${config.theme.colors.subtext}'
+ '';
};
programs.zoxide = {