dideler / fish-cd-git Goto Github PK
View Code? Open in Web Editor NEW๐ Quickly navigate between GitHub repositories
License: MIT License
๐ Quickly navigate between GitHub repositories
License: MIT License
When gh
is used to clone a repo, we could show a spinner during the background job so the user knows that the script is still working.
Take a look at https://github.com/fisherman/spin.
https://github.com/jethrokuan/z is a better navigator (but lacks cloning ability) and the namespace now conflicts with https://github.com/cli/cli which would be a common tool installed on the machines of this package's target audience.
ubuntu@box2011 ~> fisher install dideler/fish-cd-git
Installing 1 plugin/s
OK Copy cd-git
Done in 68ms
ubuntu@box2011 ~> fisher -h
Usage: fisher [OPTION] USER REPO
Description:
Quickly navigate across git repositories cloned from GitHub.
Searches within /home/ubuntu/github.com/. Clones repo if not found.
Examples:
fisher dideler fish-cd-git
Options:
-h, --help Prints help information
-v, --version Prints the fisher version
It looks like the fisher
command is being overwritten by the gh
command.
E.g. gh https://github.com/dideler/fish-cd-git
Can be quicker to ctrl / cmd+c to copy the URL, than to partially select or type the repo path.
Add a usage demo to the README, preferably as a small-sized GIF no longer than 10 sec.
Quickest is to duplicate gh
script and rename to bb
and gl
, but would be nicer to have them all in one script and reusing the same code. E.g.
function gh
cd-git github.com
end
function bb
cd-git bitbucket.com
end
function gl
cd-git gitlab.com
end
When GH_BASE_DIR
is not defined beforehand, the script gets the location wrong. It doesn't use the default HOME
value.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.