2026-05-22 15:28:08 +03:00

11 lines
216 B
Bash
Executable File

#!/bin/sh -eu
readonly tips_dir="${HOME}/.tips"
if [ ! -d "${tips_dir}" ]; then
mkdir "${tips_dir}" 2>/dev/null
git init "${tips_dir}"
fi
find "${tips_dir}" -mindepth 1 -maxdepth 1 -type f -exec cat {} \;