fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Johannes Altmanningerstatus get-file: simplify wrapperd19c92776

master
387 B11 linesraw
1#RUN: fish=%fish %fish %s
2# Test all completions where the command exists
3
4# No output is good output
5for f in (status list-files completions | string match 'completions/*.fish')
6    if type -q (string replace -r '.*/([^/]+).fish' '$1' $f)
7        set -l out (status get-file $f | source 2>&1 | string collect)
8        test -n "$out"
9        and echo -- OUTPUT from $f: $out
10    end
11end