Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- githubs() {
- if [[ z $@ ]]; then
- ln -sf /.ssh/id_rsa /.ssh/github_rsa
- ln -sf /.ssh/id_rsa.pub /.ssh/github_rsa.pub
- else
- ln -sf /.ssh/github/$1 /.ssh/github_rsa
- ln -sf /.ssh/github/$1.pub /.ssh/github_rsa.pub
- fi
- rm -rf /tmp/keyring*/ssh
- }
Add Comment
Please, Sign In to add comment