fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
190d367bc
master
1#RUN: %fish %s 2#REQUIRES: command -v tmux 3 4isolated-tmux-start -C' 5set -g i 0 6function fish_prompt 7set -g i (math $i + 1) 8printf "$i.%s \n" (seq $i) 9end 10history append "\ 11if true 12echo hello1 13echo hello2 14echo hello3 15echo hello4 16echo hello5 17echo hello6 18echo hello7 19echo hello8 20end" 21' 22 23isolated-tmux send-keys Enter 24tmux-sleep 25isolated-tmux send-keys i 26tmux-sleep 27isolated-tmux capture-pane -p| string replace -r ^ ^ 28# CHECK: ^1.1 29# CHECK: ^2.1 30# CHECK: ^2.2 if true 31# CHECK: ^ echo hello1 32# CHECK: ^ echo hello2 33# CHECK: ^ echo hello3 34# CHECK: ^ echo hello4 35# CHECK: ^ echo hello5 36# CHECK: ^ echo hello6 37# CHECK: ^ echo hello7…