zsh: replace cd-gitroot with simple command
Alan Pearce alan@alanpearce.eu
Mon, 06 Mar 2023 10:14:19 +0100
1 files changed, 2 insertions(+), 12 deletions(-)
jump to
M user/settings/zsh.nix → user/settings/zsh.nix
@@ -62,16 +62,6 @@ }; 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 { owner = "agkozak"; @@ -113,8 +103,8 @@ lal = "ll -A"; lla = "lal"; llr = "ll -t"; - cg = "cd-gitroot"; - cdg = "cd-gitroot"; + cg = "cd $(git root)"; + cdg = "cd $(git root)"; https = "http --default-scheme https";