diff options
author | Freya Murphy <freya@freyacat.org> | 2025-07-02 10:57:15 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-07-02 10:57:15 -0400 |
commit | 4ce44871ef4b8da96461b03c749a142d5264a5ee (patch) | |
tree | 9030776fa7c274bb07b0db12455fc26d6659a0d1 /home/zsh | |
parent | update ly version and update config (diff) | |
download | dotfiles-nix-4ce44871ef4b8da96461b03c749a142d5264a5ee.tar.gz dotfiles-nix-4ce44871ef4b8da96461b03c749a142d5264a5ee.tar.bz2 dotfiles-nix-4ce44871ef4b8da96461b03c749a142d5264a5ee.zip |
update zsh autocomplete/nvim comment color
Diffstat (limited to 'home/zsh')
-rw-r--r-- | home/zsh/default.nix | 6 | ||||
-rw-r--r-- | home/zsh/zshrc | 3 |
2 files changed, 8 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 = { diff --git a/home/zsh/zshrc b/home/zsh/zshrc index 6a366a0..0dd2904 100644 --- a/home/zsh/zshrc +++ b/home/zsh/zshrc @@ -72,3 +72,6 @@ bindkey "\e\d" undo # gpg export GPG_TTY=$(tty) export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) + +# nixos +source ~/.nixenv |