linuxmint / linuxmint/timeshift
Feature request: bash completion script
Nobody has claimed this yet.
- Dominant language
- Vala
- Stars
- 4.3k
- Forks
- 155
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
I'm frustrated—especially in a recovery environment where I don't have the ability to use multiple terminal windows/tabs, etc.,—that there's no tab/bash completion for timeshift.
Describe the solution you'd like
CLI users are familiar with how tab completion works... Given what e.g., apt completion can do, tab completion can be quite sophisticated so all of the --flags should be tab-completable, the snapshot names should be tab-completeable.
At a minimum, being able to autocomplete the snapshot names (which can be had from something like $ timeshift --list|tail -n 7|awk '{print $3}') and the --flags would be a major improvement.
Maybe --targets, --snapshot-device and --grub-device too? (I haven't used them so not sure how realistic/useful that would be.)
Describe alternatives you've considered
Manually typing everything into the CLI. PR #504.
Additional context
Add any other context or screenshots about the feature request here.
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start by reviewing the timeshift CLI behavior, especially timeshift --list and the documented --flags, snapshot names, --targets, --snapshot-device, and --grub-device options. Check the referenced PR #504 for existing work. Done means Bash completion provides useful suggestions for the flags and snapshot names, with any additional options validated for usefulness.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100