Skip to content

lainiwa/gitcd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gitcd - clone direcory and cd into it

Installation and usage

This lines go to your ~/.zshrc:

# Load this plugin with your favorite plugin manager like this
zplugin load lainiwa/gitcd
# Set GITCD_HOME. The default value is "${HOME}/Code"
export GITCD_HOME=${HOME}/tmp
# Set GITCD_TRIM to any non-empty value if you want a flat direcory structure
# instead of nested (nested is default)
export GITCD_TRIM=1

Then gitcd <repo-url> to clone repo and cd into it.

Thanks

This is a fork of viko16/gitcd.plugin.zsh modified according to my taste.

About

git clone and cd in one single command!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages