# Copy SSH public key to general pasteboard.
function sshcopypub --description "Copy SSH public key to general pasteboard."
    pbcopy < ~/.ssh/id_rsa.pub
end

function sshcopypub \
        --description "Copy SSH public key to general pasteboard."
    if is_mac
        pbcopy < ~/.ssh/id_rsa.pub
    else if is_linux
        xsel --clipboard < ~/.ssh/id_rsa.pub
    end
end

Use xsel on linux to copy
Use xsel on linux to copy

phatblat/dotfiles,phatblat/dotfiles,phatblat/dotfiles,phatblat/dotfiles,phatblat/dotfiles,phatblat/dotfiles