Support prompt expansions
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by locating the command-line parsing or prompt-expansion entry points and any tests covering history or argument expansion. Compare the existing behavior with each example in the issue; done means the listed expansions and substitutions are supported and covered by tests.
Written by the indexing model from the issue text.
Description
Support prompt expansions
Examples
!! - all items, repeat the previous line
!* - just args
!:3 just 3rd item
!^ first argument
!$ last argument # or hit esc period
!* all arguments
!:2 second argument
!:2-3 second to third arguments
!:2-$ second to last arguments
!:2* second to last arguments
!:2- second to next to last arguments
!:0 the command
!:-2 first 2 items
# substitutions
^WORD1^WORD2^
!!:s/WORD1/WORD2
!!:gs/old/new/ or :&
- Dominant language
- Python
- Stars
- 14.3k
- Forks
- 851
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from idank/explainshell
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
idank/explainshell#367 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
idank/explainshell#368 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
idank/explainshell#365 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
idank/explainshell#354 · 2 comments · 4 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
idank/explainshell#343 ·
All issues in idank/explainshell
Similar issues
-
docs pydanty:is-working
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
pydantic/pydantic-ai#8863 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
run-llama/llama_index#23278 ·
Maintainers usually reply within 2 days
-
documentation from-review-extraction github-actions priority: low severity:nit
Difficulty 1/5 Under an hour Newbie friendliness 92/100
LearningCircuit/local-deep-research#6946 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
oracle/langchain-oracle#323 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
tenstorrent/tt-metal#58057 · 1 comment ·
Maintainers usually reply within 1 day