From 257bb81597b3b6f3ed3c3587c2af02f37f22f1fb Mon Sep 17 00:00:00 2001 From: Chris Toph Date: Sat, 22 Mar 2025 18:30:32 -0400 Subject: [PATCH] Refactor fish initialization and gnome configuration: update function names, add new commands, and exclude xterm package --- home/toph/common/core/fish/init.fish | 21 +++++++++++++++++++-- hosts/common/optional/gnome.nix | 2 ++ 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/home/toph/common/core/fish/init.fish b/home/toph/common/core/fish/init.fish index 53cdf54..8b5311a 100644 --- a/home/toph/common/core/fish/init.fish +++ b/home/toph/common/core/fish/init.fish @@ -1,5 +1,5 @@ -function s - ssh (whoami)@$argv +function cd + zoxide $argv end function garbage @@ -11,6 +11,23 @@ function garbage nix-store --gc end +function ls + eza $argv +end + +function rebuild + if test -f ~/git/Nix/dot.nix/scripts/rebuild.fish + cd ~/git/Nix/dot.nix + scripts/rebuild.fish + else + echo (set_color yellow)" - Rebuild not found"(set_color normal) + end +end + +function s + ssh (whoami)@$argv +end + set fish_greeting # Disable greeting fastfetch diff --git a/hosts/common/optional/gnome.nix b/hosts/common/optional/gnome.nix index bf103dc..816b7bf 100644 --- a/hosts/common/optional/gnome.nix +++ b/hosts/common/optional/gnome.nix @@ -33,6 +33,8 @@ gnomeExtensions.quick-settings-audio-devices-renamer ]; + ## Exclusions ## + services.xserver.excludePackages = [ pkgs.xterm ]; environment.gnome.excludePackages = ( with pkgs; [