github / github/copilot-cli

Configure custom aliases

Aberta
#3,844 0 comentários 0 reações 0 responsáveis Ver no GitHub
area:configuration
Linguagem predominante
Shell
Estrelas
11.2k
Forks
1.9k
Merge médio
14h 16min
PRs com merge (30d)
6

Descrição

### Describe the feature or problem you'd like to solve

Allow to create aliases and custom /commands

### Proposed solution

Let users define their own slash command aliases, mapped to specific models and prompts.
Why it helps:
- Faster model switching, less typing
- Consistent workflows across tasks
- Feels natural, like shell or git aliase

### Example prompts or workflows

For example, modifying `~/.coppier/settings.json` to set
- `/m1` as an alias for `/model claude-opus-4.8`
- `/m2` for `/model gpt-5-mini`
- `/rd` for `/rubber-duck`
- `/docs` for "Rewrite this README clearly"

### Additional context

This fits how aliases are already used in git and the shell. Small feature, big usability win.

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Start by tracing how ~/.coppier/settings.json is loaded and how existing slash commands such as /model and /rubber-duck are dispatched. Done means users can define aliases there and invoke them to select the mapped model or run the mapped prompt, including the examples described in the issue.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
shell
Domínio
cli, developer-experience
Tipo de issue
Funcionalidade
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Pouca atividade
Clareza
Razoavelmente clara
Facilidade para iniciantes
48/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.