command sg is in the process of deprecation
sg is causing more issues. And the deprecation process has been started.
Orignal Issue
The cli command name sg is already taken by a shadow tools command
NAME
sg - execute command as different group ID
Cf. https://github.com/shadow-maint/shadow
It is installed by default in /usr/bin/sg at least on arch-linux.
Weirdly npm install -g @ast-grep/cli didn’t even install the cli in ~/.local/bin for me (I have prefix=~/.local configured for npm). Maybe that is also due to the name collision.
I actually like the pattern of .g for grep commands. Pitty that ag is already taken.
How about cg for code-grep?
command
sgis in the process of deprecationsgis causing more issues. And the deprecation process has been started.Orignal Issue
The cli command name
sgis already taken by a shadow tools commandCf. https://github.com/shadow-maint/shadow
It is installed by default in
/usr/bin/sgat least on arch-linux.Weirdly
npm install -g @ast-grep/clididn’t even install the cli in~/.local/binfor me (I haveprefix=~/.localconfigured for npm). Maybe that is also due to the name collision.I actually like the pattern of
.gfor grep commands. Pitty thatagis already taken.How about
cgfor code-grep?