fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
d7f4ad7ab
master
1# gh, at least as of version 1.17.5, does not write errors to stderr, causing 2# `checks/completions.fish` to fail if the `gh-completion` module is missing. 3# It also does not exit with a non-zero error code, making this harder than it needs to be :( 4set completion"$ ( gh completion --shell fish 2> /dev/null ) " 5string match -rq'^Error' --$completion && return -1 6echo $completion | source