#!/usr/bin/env bash

# copy last commit hash to clipboard
git log -1 --format=format:%h | xsel -ip
