gh icon indicating copy to clipboard operation
gh copied to clipboard

Automatic symlinks?

Open equwal opened this issue 4 years ago • 0 comments

Sometimes it is not possible (or reasonable) to put my github repos in the src directory. This is especially true for language libraries, which often must be in a specific folder.

I've been symlinking them manually

$ ln -s ~/src/github.com/equwal/clapt ~/common-lisp/clapt/

but it would be nice as a part of gh. Maybe add an flag like -s to the end of the arglist? So:

$ cd ~/common-lisp/clapt
$ gh equwal clapt -s
...symlinking clapt to ~/src/github.com/equwal/clapt/...
$

I have enough repositories littering my disk that I'll be using something like this.

equwal avatar Nov 09 '19 04:11 equwal