mirror of
https://github.com/reactos/ninja.git
synced 2024-11-23 03:39:48 +00:00
Speed up zsh target completion
This commit is contained in:
parent
083b6b0406
commit
530d2b1666
@ -23,8 +23,7 @@ __get_targets() {
|
||||
eval dir="${opt_args[-C]}"
|
||||
fi
|
||||
targets_command="ninja -C \"${dir}\" -t targets"
|
||||
eval ${targets_command} 2>/dev/null | while read -r a b; do echo $a | cut -d ':' -f1; done;
|
||||
|
||||
eval ${targets_command} 2>/dev/null | sed "s/^\(.*\): .*$/\1/"
|
||||
}
|
||||
|
||||
__get_tools() {
|
||||
|
Loading…
Reference in New Issue
Block a user