fork/fish-shell

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

Johannes Altmanningertest/tmux-complete3: fail more reliably756134cf2

master
521 B20 linesraw
1#RUN: %fish %s
2#REQUIRES: command -v tmux
3#REQUIRES: uname -r | grep -qv Microsoft
4
5isolated-tmux-start
6
7# Test that Tab recomputes completion if the list was empty.
8isolated-tmux send-keys ': somedir' Tab
9mkdir somedirectory
10isolated-tmux send-keys Tab
11tmux-sleep
12isolated-tmux capture-pane -p
13# CHECK: prompt 0> : somedirectory/
14
15# But not if the completion pager wasn't empty.
16mkdir somedirectory2 somedirectory3
17isolated-tmux send-keys Tab
18tmux-sleep
19isolated-tmux capture-pane -p
20# CHECK: prompt 0> : somedirectory/