2
0
Fork 0
mirror of https://github.com/fish-shell/fish-shell synced 2025-01-26 19:55:08 +00:00
fish-shell/share/functions/__fish_print_ninja_tools.fish

7 lines
169 B
Fish
Raw Normal View History

2016-09-27 22:17:24 +00:00
function __fish_print_ninja_tools
echo list
if [ -f build.ninja ]
ninja -t list | string match -v '*:' | string replace -r '\s+(\w+).*' '$1'
end
end