commit | 6fc15c47a0b17e627f80d6f1d8f08f03d3ae88d4 | [log] [tgz] |
---|---|---|
author | Elan Ruusamäe <glen@delfi.ee> | Wed Jan 22 00:33:08 2014 +0200 |
committer | Evan Martin <martine@danga.com> | Sun Nov 23 12:35:03 2014 -0800 |
tree | d9dea7e129b22d9fe37b37823d75f345afad8f1e | |
parent | 2ab60038b60c8e89ff5ccc7aaf8028f3d7acf4ee [diff] |
no subshell don't need subshell to send stderr to /dev/null
diff --git a/misc/bash-completion b/misc/bash-completion index 6edf4df..0536760 100644 --- a/misc/bash-completion +++ b/misc/bash-completion
@@ -50,7 +50,7 @@ esac done; targets_command="eval ninja -C \"${dir}\" -t targets all" - targets=$((${targets_command} 2>/dev/null) | awk -F: '{print $1}') + targets=$(${targets_command} 2>/dev/null | awk -F: '{print $1}') COMPREPLY=($(compgen -W "$targets" -- "$cur")) fi return