Guest User

Untitled

a guest
Dec 15th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. yubishell() {
  2. (
  3. gpg-connect-agent --quiet updatestartuptty /bye
  4. export GPG_TTY=$(tty)
  5. export SSH_AUTH_SOCK="$HOME/.gnupg/S.gpg-agent.ssh"
  6. export PS1="\[\e[31m\][YUBI]\[\e[0m\] \$ "
  7. if which kr > /dev/null 2>&1; then
  8. kr unpair
  9. fi
  10. bash --norc
  11. )
  12. }
Add Comment
Please, Sign In to add comment