FS#17635 - [bash completion] pacman / yaourt
Attached to Project:
Arch Linux
Opened by Benjamin Robin (benjarobin) - Tuesday, 29 December 2009, 11:49 GMT
Last edited by Dan McGee (toofishes) - Tuesday, 29 December 2009, 13:12 GMT
Opened by Benjamin Robin (benjarobin) - Tuesday, 29 December 2009, 11:49 GMT
Last edited by Dan McGee (toofishes) - Tuesday, 29 December 2009, 13:12 GMT
|
Details
Description:
The bash completion in pacman or yaourt doesn't work very well if I put some alias on grep or ls. For example I have that after a tab: pacman -Q ^[\[ To fix the problem is very easy: Just replace in /etc/bash_completion.d/pacman 'ls' and 'grep' by 'command ls' or 'command grep'. This way we are sure we execute the original ls or grep and not the alias. (In /etc/bash_completion they do that) Additional info: * pacman all version Steps to reproduce: * alias ls=ls --color (I use this alias and not the --color=auto because I want color when I pipe ls in less) |
This task depends upon
Closed by Dan McGee (toofishes)
Tuesday, 29 December 2009, 13:12 GMT
Reason for closing: Duplicate
Additional comments about closing: Dupe of FS#16630 .
Tuesday, 29 December 2009, 13:12 GMT
Reason for closing: Duplicate
Additional comments about closing: Dupe of