all repos — nixfiles @ 4c8a1ba2141f0e22ad4d294b9058869628ff4fc1

System and user configuration, managed by nix and home-manager

Add aliases for new git switch/restore commands (v2.23)

Alan Pearce
commit

4c8a1ba2141f0e22ad4d294b9058869628ff4fc1

parent

ecd0980872ec23624a5871df7f86c6a9adad66fe

1 file changed, 2 insertions(+), 1 deletion(-)

changed files
M user/settings/zsh.nixuser/settings/zsh.nix
@@ -211,7 +211,8 @@ grsh = "git reset --hard";
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";