mirror of
https://github.com/davegallant/nix-config
synced 2025-08-06 11:23:40 +00:00
Add alias for fuzzy find git checkout
This commit is contained in:
@@ -201,6 +201,7 @@ in {
|
|||||||
".." = "cd ..";
|
".." = "cd ..";
|
||||||
c = "code";
|
c = "code";
|
||||||
g = "git";
|
g = "git";
|
||||||
|
gco = "git checkout $(git branch | fzf| tr -d '[:space:]')";
|
||||||
gr = "cd $(git rev-parse --show-toplevel)";
|
gr = "cd $(git rev-parse --show-toplevel)";
|
||||||
gho = "gh repo view --web >/dev/null";
|
gho = "gh repo view --web >/dev/null";
|
||||||
grep = "rg --smart-case";
|
grep = "rg --smart-case";
|
||||||
|
Reference in New Issue
Block a user