Guest User

Untitled

a guest
Jul 21st, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. githubs() {
  2. if [[ z $@ ]]; then
  3. ln -sf /.ssh/id_rsa /.ssh/github_rsa
  4. ln -sf /.ssh/id_rsa.pub /.ssh/github_rsa.pub
  5. else
  6. ln -sf /.ssh/github/$1 /.ssh/github_rsa
  7. ln -sf /.ssh/github/$1.pub /.ssh/github_rsa.pub
  8. fi
  9. rm -rf /tmp/keyring*/ssh
  10. }
Add Comment
Please, Sign In to add comment