Skip to content

Instantly share code, notes, and snippets.

View benln's full-sized avatar

Benjamin Louis-Napoléon benln

View GitHub Profile
@benln
benln / yarn-run-fzf.sh
Last active August 20, 2024 08:00
fzf package.json script selector
#!/bin/bash
yarn() {
# Check for required dependencies: jq and fzf
local missing_deps=()
for dep in jq fzf; do
if ! command -v "$dep" &>/dev/null; then
missing_deps+=("$dep")
fi
done