Skip to content

Instantly share code, notes, and snippets.

View ndeloof's full-sized avatar
💭
Preparing a new set of bugs

Nicolas De loof ndeloof

💭
Preparing a new set of bugs
View GitHub Profile
@ndeloof
ndeloof / docker.sh
Created February 1, 2023 09:05
completion for docker CLI
# bash completion V2 for docker -*- shell-script -*-
__docker_debug()
{
if [[ -n ${BASH_COMP_DEBUG_FILE:-} ]]; then
echo "$*" >> "${BASH_COMP_DEBUG_FILE}"
fi
}
# Macs have bash3 for which the bash-completion package doesn't include