Skip to content

Commit

Permalink
feat(fish): replace ghq with ghr
Browse files Browse the repository at this point in the history
When the list of repositories in my ghq source directory got large, it
was getting extremely slow when performing a clone[^1][^2].

It turns out that I have a lot of directories that are not managed by
git especially within my work folder. I was able to figure this out
after moving out the _work_ directory outside the `~/Sources` dir.

I found https://github.com/siketyan/ghr and it seems to be fast because
it doesn't check `.git` folders (which I'm fine with)

Refs:

[^1]: x-motemen/ghq#323
[^2]: x-motemen/ghq#379
  • Loading branch information
yujinyuz committed May 25, 2024
1 parent 7fe1f4c commit cd265e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dot_config/fish/conf.d/_ghr_init.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ghr shell fish | source
1 change: 1 addition & 0 deletions dot_config/fish/conf.d/abbreviations.fish
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ abbr -a j just
abbr -a ju just
abbr -a ch chezmoi
abbr -a che chezmoi
abbr -a ghq ghr

0 comments on commit cd265e6

Please sign in to comment.