summaryrefslogtreecommitdiffstats
path: root/misc/bash-completion
diff options
context:
space:
mode:
Diffstat (limited to 'misc/bash-completion')
-rw-r--r--misc/bash-completion2
1 files changed, 1 insertions, 1 deletions
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 @@ _ninja_target() {
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