fish-shell/share/functions/__fish_print_ninja_targets.fish

6 lines
142 B
Fish
Raw Normal View History

2016-09-27 22:17:24 +00:00
function __fish_print_ninja_targets
if [ -f build.ninja ]
ninja -t targets 2> /dev/null | string replace -r ':.*' ''
end
end