From 4c8a1ba2141f0e22ad4d294b9058869628ff4fc1 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 24 Oct 2019 00:02:55 +0200 Subject: Add aliases for new git switch/restore commands (v2.23) --- user/settings/zsh.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'user/settings/zsh.nix') diff --git a/user/settings/zsh.nix b/user/settings/zsh.nix index 79384634..7a032b37 100644 --- a/user/settings/zsh.nix +++ b/user/settings/zsh.nix @@ -211,7 +211,8 @@ in gsh = "git show"; gsm = "git submodule"; gci = "git commit"; - gco = "git checkout"; + gx = "git restore"; + gb = "git switch"; gbr = "git br"; gbrc = "git checkout -b"; gbrd = "git branch --delete"; -- cgit 1.4.1