You are not logged in.
hello,
today's bash completion upgrade deletes the archlinux file under /etc/bash_completion.d/.
pacman's bash completion doesn't work anymore. i've seen that pacman 3.1 has it's own bash completion file.
is this somehow related?
vlad
ps: i'm not using testing.
Last edited by DonVla (2008-01-10 17:50:15)
Offline
Correct.
Pacman will move to [core] soon, and the old bash completion file for pacman was very outdated and is better maintained in the pacman package. Hopefully you can survive a day or two without that completion file.
Offline
sure, thanks.
Offline
i've seen that pacman 3.1 has it's own bash completion file
i installed the new pacman, but bash_completion doesnt work....
Registed Linux User 608596
Offline
i've seen that pacman 3.1 has it's own bash completion file
i installed the new pacman, but bash_completion doesnt work....
Did you source it or logout/login? It doesn't magically do that itself.
. /etc/bash_completion
Offline
I can't wait to try out pacman-bash_completion. This is one terrific feature that I am anxiously awaiting.
Great job.
Offline
Package installation completion is the only thing I miss from Ubuntu. This will be great.
Offline
defcon wrote:i've seen that pacman 3.1 has it's own bash completion file
i installed the new pacman, but bash_completion doesnt work....
Did you source it or logout/login? It doesn't magically do that itself.
. /etc/bash_completion
both, i reload it with source ~/.bashrc and later i logged out/in
Registed Linux User 608596
Offline
Problem is still available :-/
Registed Linux User 608596
Offline
do you maybe have an alias for grep in your .bashrc ?
thats what made it not to work for me. bash pacman completion uses it a lot
There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums. That is why we avoid it. -- ewaller (arch linux forum moderator)
Offline
What a great feature! I hadn't tried it before I found this thread.
@defcon - Did you try hitting tab twice? That's what works for me. I have this in my .bashrc:
alias grep="grep --color=auto"
Offline
i had alias grep="grep -n --color=auto" and making grep print the line number broke pacman -S completion. -Q and -R completion worked
There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums. That is why we avoid it. -- ewaller (arch linux forum moderator)
Offline
That's weird. All 3 work for me. Hmm...
Offline
That's weird. All 3 work for me. Hmm...
Why is it weird? You are not using the -n option of grep.
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline
my .bashrc is clear. PS1 is the only thing i have.
@tigrmesh
yes, i pressed TAB twice oder 3-times
Last edited by defcon (2008-02-16 17:13:57)
Registed Linux User 608596
Offline
So it wasn't the alias itself, it was the option.
@shining - Thanks for explaining.
Offline
Damn, why is bash_completion is not working?
Registed Linux User 608596
Offline
Try zsh
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline
Yes, good idea.
Registed Linux User 608596
Offline