summaryrefslogtreecommitdiffstats
path: root/bash_completion
Commit message (Collapse)AuthorAgeFilesLines
* bash_completion: Improve the handling of the push commandJean Delvare2016-10-211-1/+7
| | | | Some options need a parameter, invite the user to provide it.
* bash_completion: Add support for command "new"Jean Delvare2016-10-211-1/+11
| | | | Command "new" accepts options now, add support for them.
* bash_completion: Improve the handling of the mail commandJean Delvare2016-10-211-1/+14
| | | | Some options need a parameter, invite the user to provide it.
* bash_completion: Add new command optionsJean Delvare2016-10-211-15/+17
| | | | | Enable completion with the new options of commands diff, fold, import, mail, patches, pop, push, refresh, series and setup.
* bash_completion: Update the list of commandsJean Delvare2016-10-211-1/+1
| | | | Command "upgrade" was missing.
* bash_completion: Drop wrapping conditionalJean Delvare2016-10-211-4/+0
| | | | | | Drop the check for quilt being present. No other completion file has such a check, because it's useless. If the program isn't installed then its completion file isn't installed either.
* bash_completion: Drop duplicate functionsJean Delvare2016-10-211-66/+1
| | | | | | | | | | Completing long options of the grep command is not a fundamental feature. I can't remember ever needing it. The most useful grep options are short ones by design. Additionally, our internal implementation of _longopt is broken as far as I can tell. So drop our implementations of _expand, _filedir and _longopt, and only call _longopt if it is already available from bash-completion.
* bash_completion: Use _quilt_comfile for setupJean Delvare2016-10-211-3/+3
| | | | | Add support for directories to _quilt_comfile, and use that for the setup command. The drops the last direct dependency to _filedir.
* bash_completion: Use _quilt_comfile for diffJean Delvare2016-10-211-1/+1
| | | | | All other commands use _quilt_comfile so do the same for diff for consistency.
* bash_completion: Handle spaces in file namesJean Delvare2016-10-211-11/+12
| | | | | | | | Set IFS in _quilt_comfile so that file names containing spaces are properly handled. Also quote ${COMPREPLY[@]} everywhere so that such file names are preserved. This closes Debian bug #640551.
* bash_completion: Delete dead codeJean Delvare2016-10-211-6/+3
| | | | | | | | | | You can't change the caller's environment from the right hand side of a pipe. So that code was doing nothing, which means we can just delete it. What the code was supposedly doing, is actually implemented by complete's option "filenames". So move the comment to where this option is set, to clear the confusion.
* push: Clean up stray references to interactive modeJean Delvare2014-12-071-1/+1
| | | | | The push --interactive option has been removed long ago, clean up remaining references.
* bash_completion: Simplify _quilt_comfileJean Delvare2014-02-141-1/+1
| | | | We don't need echo, we can call compgen directly.
* Tree-wide white-space cleanupsJean Delvare2014-01-201-44/+44
| | | | | | | * Delete blank lines at end of files. * Delete white space at end of lines. * Delete spaces before tab. * Replace 8 spaces by a tab where it makes sense.
* bash_completion: Fix completion of patch namesJean Delvare2014-01-071-16/+21
| | | | | | | | | | | | | | When the user's quilt configuration file (~/.quiltrc or /etc/quilt.quiltrc) contains QUILT_PATCHES_PREFIX=yes (and the default /etc/quilt.quiltrc does), bash completion chokes on patch names. This is because quilt series, applied and unapplied return relative patch names instead of the expected absolute patch names. This can be solved by skipping configuration files when quilt is called from the bash completion script. This fixes bug #27111: https://savannah.nongnu.org/bugs/index.php?27111
* Silence the completion of the push scriptMartin Quinson2012-01-231-1/+1
| | | | | | | | | | When using bash TAB completion in "quilt push <TAB>", if no patch is applied, it shows the standard error of the command "quilt applied" ("No patches applied"), used in the source file bash_completion to get the list of applied patches. This is similar to commit 6af132b5061f6773f9591ebde625c92a395ebc91, but for the push script that were forgotten previously.
* Add bash completion for revert command.Jean Delvare2010-11-021-2/+2
|
* don't show stderr on tab-completionVincenzo Tibullo2009-12-121-10/+10
| | | | | | | | | When using bash TAB completion, such as in "quilt pop <TAB>", if no patch is applied, it shows the standard error of the command "quilt applied" ("No patches applied"), used in the source file bash_completion to get the list of applied patches. Signed-off-by: David Paleino <dapal@debian.org>
* - Bash completion fix for fold command fromAndreas Gruenbacher2008-09-031-0/+1
| | | | Bernhard Walle <bwalle@suse.de>.
* - bash_completion: Code refactoring, indentation fixes.Jean Delvare2006-02-031-14/+6
|
* - bash_completion: Update import and mail commands options.Jean Delvare2006-01-301-3/+3
|
* - quilt/files.in, bash_completion: Command files only works on appliedJean Delvare2006-01-291-1/+1
| | | | patches.
* - quilt/patches.in, quilt/refresh.in: Update usage line.Jean Delvare2006-01-291-17/+42
| | | | - bash_completion: Resync with quilt commands options.
* - quilt/annotate.in: New option "-p patch" to stop checking for changesJean Delvare2005-09-131-2/+9
| | | | | | at the specified rather than the topmost patch. - bash_completion: Support the new -p option. - test/annotation.test: Test the new -p option.
* - quilt/delete.in: Add options -r (remove patch file) and --backupJean Delvare2005-08-261-1/+1
| | | | (backup rather than remove.) Patch from Joe Green.
* add completion of the header command [Joe Green]Martin Quinson2005-08-111-2/+5
|
* Updating my email addressMartin Quinson2005-08-061-1/+1
|
* - quilt delete: Add option -n, which deletes the next patchJean Delvare2005-07-061-1/+1
| | | | after topmost (rather than the specified or topmost patch).
* - annotate: temp file leak; add bash completions (Jean Delvare).Andreas Gruenbacher2005-06-221-2/+6
|
* - Remove obsolete remnants of removed -n flag (Jean Delvare).Andreas Gruenbacher2005-06-121-5/+5
|
* - Add rename command from Jean Delvare <khali@linux-fr.org>.Andreas Gruenbacher2005-06-081-1/+11
|
* Fix file completion; use string comparison when dealing with BASH_VERSION ↵Martin Quinson2005-01-201-8/+21
| | | | (may contain letters)
* - bash_completion: Change [ x '>' y ] to [ x -gt y ].Andreas Gruenbacher2004-11-081-1/+1
|
* - Missing quotation in bash_completionAndreas Gruenbacher2004-11-081-1/+1
| | | | (Axel Grossklaus <ag@pre-secure.de>).
* - Fix the version check in bash_completion for bash 3.v0.36Andreas Gruenbacher2004-09-221-1/+3
|
* Complete options for a partial command as long as it's unique.Martin Quinson2004-07-151-2/+8
| | | | quilt will accept such a partial command as valid. [Joe Green]
* Make bash_completion usable on non Debian Boxes [Joe Green]Martin Quinson2004-07-131-3/+72
|
* Fix bash_completion by not using quilt internal but the external commands ↵Martin Quinson2004-07-071-58/+13
| | | | [Joe Green]
* make it work with recent versions, dealing with patchs/ search and meta-data ↵Martin Quinson2004-06-111-36/+82
| | | | version checking
* Add completion for editMartin Quinson2004-02-251-0/+8
|
* - Add some fixes from Manuel Estrada Sainz <ranty@debian.org>.Andreas Gruenbacher2004-02-051-2/+12
| | | | | - Add QUILT_SERIES setting: Override the location of the series file to use.
* Add new commands to bash_completion (argument expansion still missing)Andreas Gruenbacher2003-10-261-2/+3
|
* What is needed to have an inteligent completion in bash when using quiltMartin Quinson2003-06-261-0/+157