From 56cb1b726f264046d94903d73899c953aa8e2cc9 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 6 Mar 2023 10:14:19 +0100 Subject: zsh: replace cd-gitroot with simple command --- user/settings/zsh.nix | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'user') diff --git a/user/settings/zsh.nix b/user/settings/zsh.nix index af8807a5..a43dbcf4 100644 --- a/user/settings/zsh.nix +++ b/user/settings/zsh.nix @@ -61,16 +61,6 @@ in { }; plugins = map mkZshPlugin [ - { - name = "cd-gitroot"; - src = pkgs.fetchFromGitHub { - owner = "mollifier"; - repo = "cd-gitroot"; - rev = "66f6ba7549b9973eb57bfbc188e29d2f73bf31bb"; - # date = 2020-06-04T19:40:14+09:00; - sha256 = "00aj9z3fa6ghjpz7s9cdqpfy4vh1v19z284p4f7xj0z40vrlbdx4"; - }; - } { name = "agkozak-zsh-prompt"; src = pkgs.fetchFromGitHub { @@ -113,8 +103,8 @@ in { lla = "lal"; llr = "ll -t"; - cg = "cd-gitroot"; - cdg = "cd-gitroot"; + cg = "cd $(git root)"; + cdg = "cd $(git root)"; https = "http --default-scheme https"; -- cgit 1.4.1