fork/fish-shell

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

Johannes AltmanningerTest case for autoload + erase + autoload5657f093e

master
370 B17 linesraw
1#RUN: fish=%fish %fish %s
2
3$fish -c '
4    complete -e cat
5    complete -C"cat -" | wc -l
6'
7# CHECK: 0
8
9# Note: this is *not* handled by the tombstone logic.
10# We don't reload cat.fish because it is cached by the autoloader,
11# and we don't invalidate the cache.
12$fish -c '
13    complete -C"cat -" >/dev/null
14    complete -e cat
15    complete -C"cat -" | wc -l
16'
17# CHECK: 0