448 Commits

Author SHA1 Message Date
Guillaume Rousse
166ac7754f better entry 2012-10-30 00:11:44 +01:00
Yann Rouillard
e5ac55d5df new completion: pkgutil 2012-10-30 00:10:27 +01:00
Yann Rouillard
ff444b5283 new completion: pkgrm 2012-10-30 00:09:21 +01:00
Yann Rouillard
a54fa7340a new completion: pkgadd 2012-10-30 00:04:09 +01:00
Yann Rouillard
6ddec67c2f new completion: pkg-get 2012-10-30 00:01:36 +01:00
Guillaume Rousse
7f1721dd90 nmcli: new completion 2012-09-04 22:42:29 +02:00
Guillaume Rousse
92ddcea20a gphoto2: new completion 2012-09-04 20:37:13 +02:00
Martin Ueding
a9b253ca8b Remove more whitespace 2012-07-22 19:30:36 +03:00
David Paleino
7dd924b524 Release 2.0 2012-06-17 20:06:40 +02:00
Ville Skyttä
7532eda90f Spelling fix. 2012-06-05 17:32:00 +03:00
David Paleino
5eaf276b5f Release 1.99 -- hopefully the last 2.0 preview 2012-01-08 00:17:28 +01:00
David Paleino
1ec0d6d336 Fix changelog 2011-11-03 12:22:00 +01:00
Freddy Vulto
6e7359f69c Improve _get_comp_words_by_ref()
Empty $cur with cmd = " | a " (| = cursor position)
(Alioth #313102)
2011-05-20 00:27:08 +02:00
Freddy Vulto
fc96a951b7 Fix error "bad array subscript"
Caused by _get_comp_words_by_ref() with cursor at position 0.
Patch by Igor Murzov (Debian: #559953)
2011-05-19 22:40:14 +02:00
Ville Skyttä
a36c1076fc Revert "New completion for phing (Elan Ruusamäe, Alioth: #312910)"
This reverts commit bf358666d2256213d59bd75c6194aaff41bc9893.

Will reuse the ant completion for phing instead.
2011-05-03 00:37:52 +03:00
David Paleino
bf358666d2 New completion for phing (Elan Ruusamäe, Alioth: #312910) 2011-05-02 17:22:35 +02:00
David Paleino
5961c3b8cd Layout change: everything is now in /usr/share/bash-completion/, rather than in /etc/. 2011-05-02 17:01:23 +02:00
David Paleino
b25abe601d ant: handle "extension-point" the same as "target" tag (Petr Kozelka, Alioth: #313105) 2011-05-02 16:30:51 +02:00
Ville Skyttä
3a39ac6676 chsh: Use _allowed_users instead of plain compgen -u. 2011-04-27 18:40:16 +03:00
Ville Skyttä
a098290816 pack200, unpack200: Use _split_longopt. 2011-04-27 18:38:37 +03:00
Ville Skyttä
5cd5993211 _parse_help: Change to output first long option, or first short if not found.
Makes things more consistent with the rest of our option offerings.
2011-04-27 18:36:52 +03:00
David Paleino
7b2c2ebf9b Complete filenames after commands in rrdtool (Debian: #577933) 2011-04-27 13:45:42 +02:00
Ville Skyttä
c5b771749b Add _terms() and screen -T completion. 2011-04-25 15:49:06 +03:00
Ville Skyttä
f5d49065d2 Expand tilde in mutt query command (Alioth: #312759). 2011-04-25 13:48:31 +03:00
Ville Skyttä
60b2106b78 Activate killall completion on Darwin (Alioth: #312350). 2011-04-25 12:48:25 +03:00
Ville Skyttä
a87086b7d4 Turn off default compopt when completing dirs in _longopt().
Otherwise -o default kicks in in cases where we have no dir
completions and ends up completing files.
2011-04-24 19:54:50 +03:00
Ville Skyttä
92f790d345 rsync completion improvements.
Turn off nospace where appropriate, add some file and dir option completions.
2011-04-22 11:59:48 +03:00
David Paleino
5c13db5094 Remove --unpack-level from lintian options (Debian: #623680) 2011-04-22 09:54:05 +02:00
Ville Skyttä
2738468dde Replace actual sysconfdir in bash_completion on install (Alioth: #313081). 2011-04-20 15:19:06 +03:00
Ville Skyttä
4c9789605f Use _init_completion() in completions/c*. 2011-04-20 14:42:30 +03:00
Ville Skyttä
007f7f5b01 Don't leak local $args. 2011-04-20 14:33:51 +03:00
Ville Skyttä
32dbe76784 Add _init_completion() for common completion initialization and generic redirection handling. 2011-04-20 13:11:09 +03:00
Ville Skyttä
a47aff8481 Fix local variable leaks from bluez completions. 2011-04-17 13:44:06 +03:00
Ted Pavlic
2eb713ff76 Add *.dbj to (la)tex filename completions (RedHat: #678122). 2011-04-15 23:47:22 +03:00
Ville Skyttä
1ffb918b4e Support tildes when recursively sourcing muttrc files (Debian: #615134). 2011-04-14 22:17:29 +03:00
Ville Skyttä
f0a9128649 Don't install completions for init.d backup files. 2011-04-12 23:48:14 +03:00
David Paleino
4ad538ba1a Fix __get_cword_at_cursor_by_ref: check for $index when completing with a cword+1 argument already present (Debian: #622383) 2011-04-12 22:06:12 +02:00
Ville Skyttä
7c34b56267 Try both full path and basename completions for sudo etc (Alioth: #313065). 2011-04-12 20:28:08 +03:00
Ville Skyttä
770bcdf71d Install full path /etc/rc.d/init.d/* completions. 2011-04-12 20:13:30 +03:00
Ville Skyttä
c42aa0b424 Install only full path (no basename) completions for /etc/init.d/*. 2011-04-12 20:12:32 +03:00
David Paleino
dcf09d3c98 Also filed on LP 2011-04-12 12:54:04 +02:00
Scott Bronson
f1b9580b35 Override MANPAGER when generating perldoc completions (RedHat: #689180). 2011-04-09 12:15:40 +03:00
Ville Skyttä
ee43b22f9b Use += to append to arrays and strings.
It's easier on the eye and faster than foo=( "${foo[@]}" ... ).
2011-04-06 20:39:21 +03:00
Ville Skyttä
c691c6e998 Add CHANGES entry and test case for previous java completion change. 2011-04-06 18:49:06 +03:00
Ville Skyttä
9af6f3504e Abort completion file loading earlier if required commands are not available.
Cuts ~10% from bash completion load time on two different systems I
just tested.
2011-04-05 00:37:55 +03:00
Ville Skyttä
4d3e9d092c Add $_backup_glob for matching various backup files and reuse it.
Compared to the previous embedded/duplicated globs, this one
additionally treats *.orig and *.rej as backup files.
2011-04-01 20:22:10 +03:00
Matej Cepl
e10848b7e5 Complete oo{writer,impress,calc,draw} on LibreOffice FlatXML extensions (RedHat: #692548). 2011-03-31 22:46:58 +03:00
David Paleino
42b107bcfc Fix broken _allowed_groups usage (shadow and coreutils) 2011-03-27 12:40:44 +02:00
Mattias Ulbrich
920b1f93b6 improved java completion
now suggests also package names
2011-03-24 20:44:10 +02:00
Freddy Vulto
8227e76e09 Improve __reassemble_comp_words_by_ref() (Alioth #313057)
Prohibit word creation of characters if they're excluded from
$COMP_WORDBREAKS.  For example, with ':' included in $COMP_WORDBREAKS,
'a b:' should split to 'b' and ':'.  With ':' excluded from
$COMP_WORDBREAKS, 'a b:' should split to 'b:', NOT 'b' and ':'.
2011-03-24 00:00:58 +01:00