Skip to content

Instantly share code, notes, and snippets.

@Tuhaj
Created April 19, 2026 11:40
Show Gist options
  • Select an option

  • Save Tuhaj/a3c55ea4ca90dbb6f08ef705a082de96 to your computer and use it in GitHub Desktop.

Select an option

Save Tuhaj/a3c55ea4ca90dbb6f08ef705a082de96 to your computer and use it in GitHub Desktop.
Small zsh helper: copies SSH public key to clipboard and prints the path
pubkey() {
local key=~/.ssh/id_ed25519.pub
pbcopy < "$key" && printf '✓ Copied %s\n' "$key"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment