Organizing Aliases
As your store grows past a dozen aliases, qwik gives you labels, filters, an interactive picker, and inline editing to keep it navigable.
Tags vs groups
Section titled “Tags vs groups”An alias has at most one group (the canonical primary namespace it
belongs to) but may carry many tags (free-form labels). Use --group on
add, list, and search to filter by group.
qwik add gs "git status" --tag git --group git --description "Repo status"qwik tag gs work # add another tagqwik untag gs work # remove oneqwik group gs git # assign primary groupqwik ungroup gs # remove the groupChoosing between them:
- Group — the alias’s home category, like
gitork8s. One per alias. - Tags — cross-cutting labels, like
workordaily. Many per alias.
Listing and filtering
Section titled “Listing and filtering”qwik list # all aliases (or: qwik -l)qwik list --tag git # filter by tagqwik list --group git # filter by groupqwik list --search stat # filter by substringOutput:
Name Command Group Tag Used Last ───── ────────────────────────── ────── ───── ───── ─────────── gs git status git git 42 2 min ago gco git checkout {1} git git 18 1 hour ago k kubectl — k8s 7 yesterdayUsage stats are tracked automatically — Used counts runs, Last shows the
most recent run.
Fuzzy search
Section titled “Fuzzy search”qwik search "git" # ranked fuzzy match (or: qwik -s "git")qwik search "git" --group git # restrict to a groupThe interactive picker
Section titled “The interactive picker”qwik # bare invocationqwik pick # same thing, explicit- Type characters to filter matching aliases live
↑/↓navigateEnterruns the selected aliasCtrl+Eedits itCtrl+Ddeletes itEsccancels
Detailed view
Section titled “Detailed view”qwik show gs # full metadata: command, tags, group, description, statsEditing an alias
Section titled “Editing an alias”qwik edit gsOpens a TOML snippet in your $EDITOR:
command = "git status"tag = ["git"]group = ""description = ""enabled = trueSave and quit to apply changes.
Enable / disable without deleting
Section titled “Enable / disable without deleting”qwik disable gs # hides from the generated shell hookqwik enable gs # re-enablesDisabled aliases stay in the store (with their stats) but are omitted when the hook regenerates — useful for pausing an alias you’re not ready to delete. See Shell Integration.
Renaming
Section titled “Renaming”qwik rename gs gstat # preserves statsRename runs the same conflict checks as add — see
Conflict Detection.