From 67b82386d8ad8ae3eea5083bd22809f6192d92a8 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Thu, 23 Nov 2023 04:20:34 +0300 Subject: 2023-11-23 --- modules/common/git.nix | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'modules/common/git.nix') diff --git a/modules/common/git.nix b/modules/common/git.nix index aa157ed..fbd7ec7 100644 --- a/modules/common/git.nix +++ b/modules/common/git.nix @@ -31,6 +31,11 @@ in { }; }; + nixfiles.modules.common.shell.aliases = { + gl = "glab"; + ht = "hut"; + }; + hm = { home.packages = with pkgs; [ git-extras @@ -149,17 +154,6 @@ in { enable = true; settings.git_protocol = "ssh"; }; - - bash = { - shellAliases = { - gl = "glab"; - ht = "hut"; - }; - initExtra = mkAfter '' - _complete_alias gl __start_glab glab - _complete_alias ht __start_hut hut - ''; - }; }; }; }; -- cgit 1.4.1