From b06e53646217f873b1fae9cc36a0329390dfca69 Mon Sep 17 00:00:00 2001 From: caem Date: Fri, 24 Jan 2025 02:37:35 +0100 Subject: [PATCH] shitpiss --- modules/home/caem/core/zsh.nix | 16 +++++++++++++++- modules/home/caem/development/ghostty.nix | 2 +- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/modules/home/caem/core/zsh.nix b/modules/home/caem/core/zsh.nix index b73340c..b815b8e 100644 --- a/modules/home/caem/core/zsh.nix +++ b/modules/home/caem/core/zsh.nix @@ -1,4 +1,4 @@ -{ config, ... }: +{ pkgs, config, ... }: { home.file.".zshenv".enable = false; @@ -8,10 +8,24 @@ autosuggestion.enable = true; syntaxHighlighting.enable = true; dotDir = ".config/zsh"; + autocd = true; history.size = 10000; history.ignoreAllDups = true; /* Not persisted on purpose */ history.path = "${config.xdg.cacheHome}/zsh_history"; + + plugins = [ + { + name = "zsh-nix-shell"; + file = "nix-shell.plugin.zsh"; + src = pkgs.fetchFromGitHub { + owner = "chisui"; + repo = "zsh-nix-shell"; + rev = "v0.8.0"; + sha256 = "1lzrn0n4fxfcgg65v0qhnj7wnybybqzs4adz7xsrkgmcsr0ii8b7"; + }; + } + ]; }; } diff --git a/modules/home/caem/development/ghostty.nix b/modules/home/caem/development/ghostty.nix index d0798ac..3663973 100644 --- a/modules/home/caem/development/ghostty.nix +++ b/modules/home/caem/development/ghostty.nix @@ -11,7 +11,7 @@ font-size = 12; background-opacity = 0.85; scrollback-limit = literally_a_billion_million; - theme = "Fahrenheit"; + theme = "Tomorrow Night Burns"; }; }; }