Skip to content

Commit f684b3a

Browse files
committed
fish/abbrs: add gh abbreviations
1 parent c94677c commit f684b3a

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

apps/core/fishAbbrs/ghAbbrs.nix

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
hm.programs.fish.shellAbbrs =
3+
{
4+
ghb = "gh browse";
5+
"ghb." = "gh browse .";
6+
7+
ghcl = "gh repo clone";
8+
ghfk = "gh repo fork --remote --clone";
9+
10+
# TODO: use abbreviations under `gh pr` when Fish 4.0 comes out
11+
ghprsw = "gh pr checkout";
12+
ghprcr = "gh pr create";
13+
ghprmg = "gh pr merge";
14+
15+
};
16+
17+
}

0 commit comments

Comments
 (0)