On Tue, 3 Jun 2014 13:03:50 +0300
Ville Skyttä ville.sky...@iki.fi wrote:
On Tue, Jun 3, 2014 at 1:49 AM, Igor Murzov
intergalactic.anonym...@gmail.com wrote:
On Wed, 2 Apr 2014 17:07:34 +0300
autoreconf -i is a good first try with just about any project using
autotools
On Wed, 2 Apr 2014 17:07:34 +0300
Ville Skyttä ville.sky...@iki.fi wrote:
On Wed, Apr 2, 2014 at 3:02 PM, Adam Ryczkowski
adam.ryczkow...@statystyka.net wrote:
The .configure script mentioned by the README is missing.
README document the setup from a release tarball, not git.
When I
On Sun, 18 May 2014 14:10:50 +0100
Tristan Wibberley tristan.wibber...@gmail.com wrote:
Currently, make completion will parse the output of $(info ...) looking for
make targets. It's too easy to cause extra targets to be suggested by
accident. This patch makes completion ignore lines that
On Tue, 20 May 2014 01:41:28 +0400
Igor Murzov intergalactic.anonym...@gmail.com wrote:
On Sun, 18 May 2014 14:10:50 +0100
Tristan Wibberley tristan.wibber...@gmail.com wrote:
Currently, make completion will parse the output of $(info ...) looking for
make targets. It's too easy to cause
On Sat, 23 Nov 2013 18:09:58 +0100
Thilo Six ml...@xk2c.de wrote:
Hello
,[ /etc/profile.d/bash_completion.sh ]
- bash=${BASH_VERSION%.*}; bmajor=${bash%.*}; bminor=${bash#*.}
- if [ $bmajor -gt 4 ] || [ $bmajor -eq 4 -a $bminor -ge 1 ]; then
+ if [[ ${BASH_VERSINFO[0]}
complete -F _gcc gcc g++ g77 gcj gpc {
cc --version 2/dev/null | grep -q GCC complete -F _gcc cc || :
c++ --version 2/dev/null | grep -q GCC complete -F _gcc c++ || :
}
Looking in this code, i wonder why there is no such lines for gfortran?
Is there some issues with it?
I wrote a
On Tue, 23 Jul 2013 16:10:58 + (GMT)
Nathan Hjelm hje...@me.com wrote:
Hello, I have a bash completion script for the environment modules package
(script attached.) This script differs quite a bit from the one included in
modules-3.2.10. The attached version supports tab completion of
On Mon, 08 Apr 2013 00:52:50 -0400
Limao Luo luoli...@gmail.com wrote:
Is there a way to disabling showing the completions menu more than once
in a row?
Nope.
-- Igor
___
Bash-completion-devel mailing list
notably
CMake itself).
Here is the patch:
--
From b07c113e6746db0d5a2c32d1e91ef90c760987e1 Mon Sep 17 00:00:00 2001
From: Igor Murzov e-m...@date.by
Date: Mon, 19 Mar 2012 00:49:57 +0400
Subject: [PATCH] Add config for cmake to bash-completion
On Wed, 27 Mar 2013 21:28:37 +0200
Ville Skyttä ville.sky...@iki.fi wrote:
Hello,
WDYT, would it be time to release 2.1? I think enough useful things have
been added since 2.0, and there's nothing intrusive and nothing larger
in progress AFAIK so now could be a good time to do it.
Do we
On Mon, 4 Feb 2013 11:01:48 +0100
Dr. med. Christoph Gille christoph.gi...@charite.de wrote:
I am new to this list and need help.
I am writing a bash completion for a program. The option -aligner=...
takes one from a list of words.
For instance -aligner=t_coffee -aligner=clustalw
It
The script looks fine in general, but I have to make some remarks about it.
* There are some minor cosmetic fixes could be done. For example
${words[$((cword-2))]} could be replaced with ${words[cword-2]}.
* The bigger problem is that you are seems to forgot to suppress error
messages of
On Tue, 09 Oct 2012 12:34:28 +0200
Marcel Partap mpar...@gmx.net wrote:
Hi,
the tmux package contains a file
/usr/share/doc/tmux/examples/bash_completion_tmux.sh, I asked the
package maintainer to ln -s it into /etc/bash_completion.d/ and he
replied that he would rather see it merged into
The style is bad, so it's not likely to be merged in as is. Can you fix
the style or you want someone else to fix it? Also i don't have any
nvidia gpu, so i can't test the code and can't fix it.
-- Igor
On Sat, 22 Sep 2012 05:55:04 -0500
Isaac Cammann icamm...@gmail.com wrote:
If anyone is
completion patch I've sent so far.
Also answers to your questions below:
On 11 September 2012 21:21, Igor Murzov e-m...@date.by wrote:
Looks like this one works much slower than the previous.
Fixed by reverting key elements to be as in the previous incremental
completion change
Wibberley
On 5 September 2012 22:50, Igor Murzov e-m...@date.by wrote:
On Wed, 5 Sep 2012 19:59:06 +0100
Tristan Wibberley tristan.wibber...@gmail.com wrote:
commit-a1843b3: Rolled up previous changes. Also made the displayed
suggestions only show the next step of the completion, like file
cur prev words cword
_init_completion || return
-_expand || return 0
+_tilde $cur || return 0
local IFS=$'\n' xspec=${_xspecs[${1##*/}]} tmp
local -a toks
--
1.7.9.5
On Wed, Sep 5, 2012 at 6:00 PM, Igor Murzov e-m...@date.by wrote:
On Sun, 26 Aug 2012 16
On Wed, 5 Sep 2012 13:01:14 +0200
Raphaël Droz raphael.d...@gmail.com wrote:
On Sun, Jul 22, 2012 at 03:14:28PM +0400, Igor Murzov wrote:
This completion looks good to me and I'd like to merge
it in. Please fix formating (no tabs, 80-column wrapping)
and prepare the patch. I know that you
On Sun, 26 Aug 2012 16:20:37 +0400
wonder.mice wonder.m...@gmail.com wrote:
As I understand, this patch solves Please do not expand leading tildes
problem when _filedir_xspec is used (for vim, for example).
---
diff --git a/bash_completion b/bash_completion
index b58e37e..912a8e6 100644
ping?
ping ? (this one being rerolled for years)
forgot to re-attach the file:
wget(1) completion
This completion looks good to me and I'd like to merge
it in. Please fix formating (no tabs, 80-column wrapping)
and prepare the patch. I know that you have a mirror of
bash-completion,
Package: bash-completion
Version: 1:2.0-1
Severity: minor
Tags: patch
Because the filesystem-type of curlftpfs-mount in /etc/mtab is just fuse
instead of fuse.curlftp or something like that (cf. sshfs = fuse.sshfs), they
are not completed.
This patch fixes that.
Your patch has been
ping ? (this one being rerolled for years)
forgot to re-attach the file:
wget(1) completion
This completion looks good to me and I'd like to merge
it in. Please fix formating (no tabs, 80-column wrapping)
and prepare the patch. I know that you have a mirror of
bash-completion, but it doesn't
: Argument list too long
906$
Cheers
Tommy
2012/7/9 Igor Murzov e-m...@date.by
I don't think this is a bug, that is why I am sending you a mail, because
it is too much for your bugreports, and I think it is more of a me
problem, and a software problem. And I have worked so
On Mon, 9 Jul 2012 18:16:51 +0200
Tommy Bollman tommy.boll...@gmail.com wrote:
Hello Igor!
I can try, where do I find version 2.0?
http://bash-completion.alioth.debian.org/files/bash-completion-2.0.tar.bz2
-- Igor
Cheers
Tommy
2012/7/9 Igor Murzov e-m...@date.by
Hello Igor
I don't think this is a bug, that is why I am sending you a mail, because
it is too much for your bugreports, and I think it is more of a me
problem, and a software problem. And I have worked so HARD to make this
work, so I hope you take your time to look through the data I send with
you,
Package: bash-completion
Version: 1.2-3
Tags: patch
Severity: wishlist
From https://bugs.launchpad.net/debian/+source/bash-completion/+bug/864967
Bash auto-completion works with .exe, .bat, etc. but it should also work
with .msi (Microsoft Installer packages).
Applied. Thanks.
--
On Mon, 12 Mar 2012 10:45:55 -0500
Peng Yu pengyu...@gmail.com wrote:
Hi,
I want to just add bash completion for man but nothing else (so '.
/opt/local/etc/bash_completion' is not an option for me).
Then you need to port the script completions/man to plain bash avoiding
to use any functions
On Wed, 25 Jan 2012 16:29:00 +0100
Christoph Anton Mitterer cales...@scientia.net wrote:
It should at least complete all endings supported by zutils, which are much
more (*.xz etc. etc.).
My zgrep (from gzip package) can't handle *.xz and I have the latest stable
version (1.4) of gzip
Could you add the completions for the popular 'git flow' extension to
bash completion please?
You can find it at https://github.com/bobthecow/git-flow-completion
Completion for the `git flow` as I can see relies on completion for `git`.
And we don't provide completion for `git`, so we'll
it breaks at least on Solaris and FreeBSD.
Sorry. Fixed this.
-- Igor
___
Bash-completion-devel mailing list
Bash-completion-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-devel
+1 for another 1.9x release. David?
Here! o/
I can make a 1.91 whenever you wish; just tell me which commit to use.
The last one in my repo is a229ea46e701af1c8d55ae44bb61b025af00ec1e .
That's the latest in master at the moment. I don't have anything
pending, but
+1 for another 1.9x release. David?
Here! o/
I can make a 1.91 whenever you wish; just tell me which commit to use.
The last one in my repo is a229ea46e701af1c8d55ae44bb61b025af00ec1e .
That's the latest in master at the moment. I don't have anything
pending, but
I'm having a hard time
believing that it's really this hard to get stuff to work, are we doing
something wrong? There must be a cleaner way.
I think we made some good progress with bash-completion and it is much more
usable now then ever before. I think we should concentrate on the stable
The attached patch appears to fix it for _parse_help, without breaking
completions for commands from paths containing backslashed chars (e.g.
whitespace) or ones starting with a tilde. _parse_usage is similarly
affected, but I'm not applying this to either because all this mess
starts to
On Sun, 4 Dec 2011 19:49:33 +0100
Raphaël Droz raphael.droz+fl...@gmail.com wrote:
-#91;[ ]] vs [ ]
+[[ ]] vs [ ]
This is not a typo. Your patch breaks makeHtml.sh.
-- Igor
___
Bash-completion-devel mailing list
But I've *guessed* something else:
$ umount tab
# list the entries including /home/me/private
$ cd /home/me
$ umount pritab
# list pri* with filedir -d instead of private only
I've tried to fix this:
I took a look on the zsh's mount completion and it looks very similar to what
in the mount branch, though zsh supports lots of operating systems.
* There should be a way to test if we are completing a device (_filedir)
or a mount point (_filedir -d) (at the end of the completion)
I can't
On Sun, 20 Nov 2011 12:05:23 +0200
Ville Skyttä ville.sky...@iki.fi wrote:
# Note: intentionally using COMP_WORDS and COMP_CWORD instead of
# words and cword here due to splitting on = causing index differences
But using COMP_WORDS directly will brake for any argument, that
On Sun, 20 Nov 2011 12:00:36 +0200
Ville Skyttä ville.sky...@iki.fi wrote:
On 11/20/2011 03:28 AM, Igor Murzov wrote:
That's not true. Double brackets still need quotes:
--
$ x=a\ b
$ y=a\ bc
$ [[ $y == $x* ]] echo [$x] is prefix of [$y
On Sun, 20 Nov 2011 16:39:54 +0200
Ville Skyttä ville.sky...@iki.fi wrote:
On 11/20/2011 03:14 PM, Igor Murzov wrote:
The following commit has been merged in the master branch:
commit f0283e1c1b64202bb1adb9f44eac6fdfd80edece
Author: Igor Murzov e-m...@date.by
Date: Sun Nov 20 17:00:03
Hi, list.
There are new linux-specific mount and umount completions in the mount branch.
Please review and test. The new completions address Alioth bugs #313166,
#313214 and #313437.
-- Igor
___
Bash-completion-devel mailing list
# Tools seem to be named e.g. like memcheck-amd64-linux from which
# we want to grab memcheck; the same dir may contain things like
# default.supp, vgpreload_*.so etc which we want to skip.
# TODO: probably needs adjustment to be more generic
COMPREPLY=( $( compgen -W $( \
On Sat, 05 Nov 2011 20:22:32 +0200
Ville Skyttä ville.sky...@iki.fi wrote:
On 11/05/2011 06:48 PM, Igor Murzov wrote:
-[ -r $i ] config+=( $i )
+[ -r $i ] config+=( $i )
Related to the above, I've had the intention to suggest that we apply a
policy of always
The following commit has been merged in the master branch:
commit 834379ef6381c83a51d9277617d49bc3d3b10c7c
Author: Ville Skyttä ville.skytta at iki.fi
Date: Thu Nov 17 18:00:41 2011 +0200
valgrind: New completion.
That's crazy, I also wrote completion for valgrind %)
On Wed, 16 Nov 2011 23:58:22 +0200
Ville Skyttä ville.sky...@iki.fi wrote:
On 11/16/2011 10:21 PM, Igor Murzov wrote:
The following commit has been merged in the master branch:
commit b3fcb55dcf3d5a99d9a705a54dd649a976706d3f
Author: Igor Murzov e-m...@date.by
Date: Wed Nov 16 23:46:29
Proposed patch for Alioth #311403:
From 0aa2c008320bdc6bf56a1bec8558a1754c23 Mon Sep 17 00:00:00 2001
From: Igor Murzov e-m...@date.by
Date: Tue, 15 Nov 2011 23:46:25 +0300
Subject: [PATCH] pidof: Don't check OS type (Alioth #311403)
Also drop non-existent option arguments completion
On Mon, 14 Nov 2011 21:54:47 +0200
Ville Skyttä ville.sky...@iki.fi wrote:
On 11/14/2011 10:21 PM, Igor Murzov wrote:
On Wed, 26 Oct 2011 20:47:43 +0300
Ville Skyttä ville.sky...@iki.fi wrote:
On 10/26/2011 08:10 PM, Ville Skyttä wrote:
On 10/26/2011 10:24 AM, David Paleino wrote
I can't understand how $COMP_WORDBREAKS works and why quotes on command line
give such a weird result. Test function is following:
--
_zz()
{
echo -e \n* $COMP_CWORD:
for (( i=0; i = COMP_CWORD; i++ )); do
echo [${COMP_WORDS[i]}]
done
} complete -F _zz
On Fri, 11 Nov 2011 09:36:54 +0200
Ville Skyttä ville.sky...@iki.fi wrote:
On 11/09/2011 10:20 PM, Igor Murzov wrote:
+local var=NPROCESSORS_ONLN
+[[ $OSTYPE == *linux* ]] var=_$var
+local n=$( getconf $var 2/dev/null )
+printf %s ${n:-1}
I don't know why
On Tue, 08 Nov 2011 18:21:21 +0200
Ville Skyttä ville.sky...@iki.fi wrote:
Good. Can I push this variant to the master branch?
Sure, go ahead.
But I've run into something not nice at all (and not at all related to
your changes):
$ bash --norc
$ _foo() { echo -n completing foo ; }
$
+local var=NPROCESSORS_ONLN
+[[ $OSTYPE == *linux* ]] var=_$var
+local n=$( getconf $var 2/dev/null )
+printf %s ${n:-1}
I don't know why, but on my system getconf works differently (note the leading
underscore in the variable name):
$ LANG=C getconf NPROCESSORS_ONLN
On Mon, 07 Nov 2011 18:41:16 +0200
Ville Skyttä ville.sky...@iki.fi wrote:
I pushed new variant of the fix to the service branch. Can you look into
it?
I didn't look into the code that closely, but it works as expected in
all test cases I threw at it, cool.
Good. Can I push this
On Sat, 05 Nov 2011 20:19:02 +0200
Ville Skyttä ville.sky...@iki.fi wrote:
On 11/05/2011 06:48 PM, Igor Murzov wrote:
The following commit has been merged in the master branch:
commit 9717124ab7bad30b6d8ba02ef91850c6bb74dd63
Author: Igor Murzov e-m...@date.by
Date: Sat Nov 5 20:13:05
On Sun, 06 Nov 2011 00:13:09 +0200
Ville Skyttä ville.sky...@iki.fi wrote:
On 11/05/2011 11:50 PM, Igor Murzov wrote:
How about this (diff is against prior version as this is more
demonstrative)?
Something along those lines looks better, thanks for looking into it.
But if I read
On Thu, 3 Nov 2011 12:28:03 +0100
David Paleino da...@debian.org wrote:
Hello everybody,
I just released bash-completion 1.90, a preview of bash-completion 2.0,
featuring (..drumroll..) dynamic loading of completions (thanks to Ville!).
The changes in this release from 1.3 are available at:
Why try to load different completions for the same program.
Because it might not be the same program; for example we want different
completions for /etc/init.d/mysql and /usr/bin/mysql.
Ok, if you really need this, then we should work with real path here at least.
Using relative paths is
Found a regression. Completing shell variables names no longer works.
$ echo $BTAB
gives me
$ echo \$BASH
for dynamic-loading branch. Further hits of tab button give no effect.
But then again, completing variable names doesn't really work in the
master branch either for
On Thu, 20 Oct 2011 20:47:45 +0300
Ville Skyttä ville.sky...@iki.fi wrote:
No comments yet? If there are none or there are no strong objections
soon, I'm going to merge this to master soon
I have tested dynamic loading now. That's what I don't like or understand:
1.
# If full path below
On Sat, 22 Oct 2011 13:00:57 +0300
Ville Skyttä ville.sky...@iki.fi wrote:
On 10/03/2011 04:03 AM, Igor Murzov wrote:
And maybe it
is a good idea to put functions used by more than one completion to its
own file.
No objections, but on the other hand no hurry either as far as I'm
---
bash_completion |7 +--
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/bash_completion b/bash_completion
index 4bfa4de..84bbe80 100644
--- a/bash_completion
+++ b/bash_completion
@@ -1817,17 +1817,12 @@ _completion_loader()
local compdir=./completions
[[
Also make this completions work on Slackware GNU/Linux.
---
bash_completion | 48 ++--
completions/service | 40
2 files changed, 42 insertions(+), 46 deletions(-)
delete mode 100644 completions/service
Found a regression. Completing shell variables names no longer works.
$ echo $BTAB
gives me
$ echo \$BASH
for dynamic-loading branch. Further hits of tab button give no effect.
-- Igor
___
Bash-completion-devel mailing list
Anything else? I have a bunch of completions that don't need anything
from other files already split up locally (see 1) above) and unless
there are objections, I'm going to commit that to master soon.
Ok, I understood everything now :) No objections from me. But testing of
all that dynamic
This fixes completions that rely on their compopts, most notably mount(8).
Fixes bash-completion bug #313183.
I've tested this patch and it passes tests and I haven't seen any
regression. But, it is likely that the testsuite is not complete, so I
can't be sure, that nothing is broke. For
On Mon, 18 Jul 2011 11:46:04 +0200
David Paleino da...@debian.org wrote:
On Sun, 17 Jul 2011 22:56:48 +, Igor Murzov wrote:
The following commit has been merged in the master branch:
commit bd482ca2f221323aa461ca75c9457ec11f43570e
Author: Igor Murzov e-m...@date.by
Date: Mon Jul
I wanted to use send-email this time but I realized I don't know git.
I strongly believed that the following would format 1 patch only:
$ git format-patch --stdout ee875cb29a26133f9dae0625b2369b8072ff9095 --
completions/cups but it didn't (it is pushed in gitorious).
git format-patch
В сообщении от 6 июня 2011 23:59:44 автор Ville Skyttä написал:
kcov: New completion
[...]
+if [[ $cur == -* ]]; then
+COMPREPLY=( $( compgen -W '$( _parse_help $1 --help )' --
$cur ) ) +[[ $COMPREPLY == *= ]] compopt -o nospace
+return 0
+fi
В сообщении от 25 мая 2011 21:59:30 автор Ville Skyttä написал:
Maybe try to add % to it instead and see if that leads to something useful?
$ bash --norc
$ echo $COMP_WORDBREAKS
'@=;|(:
Adding % to COMP_WORDBREAKS indeed solves the issue. I suppose that applying
Raphaël's patches to bash
Hey! I get stuck trying to implement completion script for strings containing
two parts for completion delimited by '%' sign. For example, `cmd opt%arg`.
The problem is that, if i hit tab key, when cursor is behind delimeter, bash
eats first part of string leaving `cmd arg`. I just can't
For example, write ls and then go to the start of line, what do you
think $cur and $prev should be set to when completing at that point? I
think both of them should be empty, but then again I also think that in
that case the ls completion should not be invoked at all which may be
a bash bug.
-completion-package-
needs-testing-875458/)
Signed-off-by: Igor Murzov e-m...@date.by
Signed-off-by: Sergey V. sftp.mt...@gmail.com
Signed-off-by: Robby Workman rwork...@slackware.com
Ville Skyttä wrote:
As you seem to be involved with development of these tools upstream,
have you considered
Mon Sep 17 00:00:00 2001
From: Igor Murzov i...@gplsoft.org
Date: Fri, 29 Apr 2011 13:22:48 +0400
Subject: [PATCH] Fix out of bounds access to COMP_WORDS
It can happen that $cword equals to 0, so there is no $prev word in this
case (Fixes Bug #559953)
---
bash_completion |4 ++--
1 files
Thank you, Ville for your reply. I have no questions anymore )
-- Igor
___
Bash-completion-devel mailing list
Bash-completion-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel
73 matches
Mail list logo