diff options
author | Alan Pearce | 2019-10-24 00:02:55 +0200 |
---|---|---|
committer | Alan Pearce | 2019-10-24 00:02:55 +0200 |
commit | 4c8a1ba2141f0e22ad4d294b9058869628ff4fc1 (patch) | |
tree | 3a640c26388e539e28d15d801d3789340f82ccc9 /user/settings/zsh.nix | |
parent | ecd0980872ec23624a5871df7f86c6a9adad66fe (diff) | |
download | nixfiles-4c8a1ba2141f0e22ad4d294b9058869628ff4fc1.tar.lz nixfiles-4c8a1ba2141f0e22ad4d294b9058869628ff4fc1.tar.zst nixfiles-4c8a1ba2141f0e22ad4d294b9058869628ff4fc1.zip |
Add aliases for new git switch/restore commands (v2.23)
Diffstat (limited to 'user/settings/zsh.nix')
-rw-r--r-- | user/settings/zsh.nix | 3 |
1 files changed, 2 insertions, 1 deletions
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"; |