Fork the desktop off Omarchy as a self-contained system

This commit is contained in:
2026-09-19 23:50:39 -04:00
parent 16a56f49a1
commit 9501f2bb4d
559 changed files with 43273 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
_blob_completions() {
local current="${COMP_WORDS[COMP_CWORD]}"
local typed="${COMP_WORDS[*]:1:COMP_CWORD-1}"
local prefix="blob"
[[ -n $typed ]] && prefix="blob-${typed// /-}"
local candidates=()
local name suffix
while IFS= read -r name; do
suffix="${name#$prefix-}"
[[ $suffix == "$name" ]] && continue
candidates+=("${suffix%%-*}")
done < <(compgen -c -- "$prefix-" | sort -u)
if (( COMP_CWORD == 1 )); then
candidates+=(help)
fi
COMPREPLY=($(compgen -W "$(printf '%s\n' "${candidates[@]}" | sort -u)" -- "$current"))
}
complete -F _blob_completions blob