gleich / fgh

📁 Automate the lifecycle and organization of your cloned GitHub repositories
MIT License
142 stars 17 forks source link

Path subcommand #8

Closed cjdenio closed 3 years ago

cjdenio commented 3 years ago

Description

A command like fgh path repo_name could be used in conjunction with cd like so:

cd `fgh p Matt-Gleich/fgh`
gleich commented 3 years ago

Good idea!

cjdenio commented 3 years ago

Ooh, then people could set up a bash alias to make ghcd repo work

gleich commented 3 years ago

We could have it so the root command just does cd

gleich commented 3 years ago

I have to figure out how to do parent process path exchanges tho

cjdenio commented 3 years ago

Sub-processes can't run cd at the shell level, though :cry:

gleich commented 3 years ago

How does ranger do it?

cjdenio commented 3 years ago

Good question :thinking: It must be possible, then

gleich commented 3 years ago

We need the thonk emoji in GitHub issues

cjdenio commented 3 years ago

YES GITHUB NEEDS CUSTOM EMOJIS lol

gleich commented 3 years ago

lol