From 484b589512acde9442d93ac9b6f331d7cc2551e6 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Thu, 17 Mar 2022 17:33:25 -0600 Subject: pkgs: add git-aliases --- home/default.nix | 4 +--- home/zshrc.nix | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'home') diff --git a/home/default.nix b/home/default.nix index 4cb5c6a..dcd7cb3 100644 --- a/home/default.nix +++ b/home/default.nix @@ -103,9 +103,7 @@ enable = true; enableAutosuggestions = true; enableSyntaxHighlighting = true; - initExtra = import ./zshrc.nix { - inherit (pkgs) grml-zsh-config; - }; + initExtra = import ./zshrc.nix pkgs; }; alacritty = { diff --git a/home/zshrc.nix b/home/zshrc.nix index 557f700..39b34ff 100644 --- a/home/zshrc.nix +++ b/home/zshrc.nix @@ -1,4 +1,4 @@ -{ grml-zsh-config }: '' +{ grml-zsh-config, local, ... }: '' source ${grml-zsh-config}/etc/zsh/zshrc export PATH="$PATH:$HOME/.cargo/bin" @@ -18,7 +18,7 @@ } function galias() { - source $HOME/System/dot/git-aliases.zsh + source ${local.git-aliases} } function shenv() { -- cgit v1.2.3