Open ssnyder opened 6 years ago
My corporate setup will not let me use https for some reason to clone git repos. I must use the ssh key that I've added to my github account.
To fix this, I've manually updated the install_plugins.sh script so that it reads:
clone_plugin() { local plugin="$1" clone "$plugin" || clone "git@github.com:$plugin" }
This seems to work for me. Please make some kind of option that we can set in the .tmux.conf file.
Thanks!
Hey @ssnyder 👋
You'll be interested in git config's url.<base>.insteadOf:
git config
url.<base>.insteadOf
$ git config --global "url.git@github.com:tmux-plugins.insteadOf" "https://github.com/tmux-plugins"
My corporate setup will not let me use https for some reason to clone git repos. I must use the ssh key that I've added to my github account.
To fix this, I've manually updated the install_plugins.sh script so that it reads:
This seems to work for me. Please make some kind of option that we can set in the .tmux.conf file.
Thanks!