Re: [gentoo-dev] [PATCH] bash-completion-r1: support for aliasing completions for commands

2014-08-27 Thread Bertrand Jacquin
Hi Michał, On 2014-08-27 17:06, Michał Górny wrote: Please review. +bashcomp_alias() { + debug-print-function ${FUNCNAME} ${@} + + [[ ${#} -lt 2 ]] die Usage: ${FUNCNAME} basename alias... + local base=${1} f + shift + + for f; do is there a missing 'in $@

Re: [gentoo-dev] [PATCH] bash-completion-r1: support for aliasing completions for commands

2014-08-27 Thread Alexander Kapshuk
On Wed, Aug 27, 2014 at 7:01 PM, Bertrand Jacquin be...@meleeweb.net wrote: Hi Michał, On 2014-08-27 17:06, Michał Górny wrote: Please review. +bashcomp_alias() { + debug-print-function ${FUNCNAME} ${@} + + [[ ${#} -lt 2 ]] die Usage: ${FUNCNAME} basename alias... +

Re: [gentoo-dev] [PATCH] bash-completion-r1: support for aliasing completions for commands

2014-08-27 Thread Alexander Kapshuk
On Wed, Aug 27, 2014 at 7:32 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: On Wed, Aug 27, 2014 at 7:01 PM, Bertrand Jacquin be...@meleeweb.net wrote: Hi Michał, On 2014-08-27 17:06, Michał Górny wrote: Please review. +bashcomp_alias() { + debug-print-function