diff options
author | Latchezar Tzvetkoff <[email protected]> | 2018-08-03 16:59:07 +0300 |
---|---|---|
committer | Pierre Fenoll <[email protected]> | 2018-08-03 15:59:07 +0200 |
commit | d05d48e071bf38943340dd9086f615eb7d37d5fb (patch) | |
tree | 805ed2ba5e6dbf33d505f43cd7b4d61221953079 /.gitignore | |
parent | 9fccf3d503188bf324110dcaab4d3cce5edb77e7 (diff) | |
download | kerl-d05d48e071bf38943340dd9086f615eb7d37d5fb.tar.gz kerl-d05d48e071bf38943340dd9086f615eb7d37d5fb.tar.bz2 kerl-d05d48e071bf38943340dd9086f615eb7d37d5fb.zip |
Fix Bash completion for Bash 3 (#295)
Well, since Bash 3 lacks the `readarray` (`mapfile`), kerl's completion does not work - and, unfortunately, Яpple still ships Bash 3 as default shell on macOS.
In this change we directly assign the result of `compgen` to `COMPREPLY` instead of reading the output of `compgen` into a variable.
Tested on:
- 3.2.57(1)-release (macOS default)
- 4.4.23(1)-release (Homebrew)
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions