fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
e22d90cba
master
1#RUN: %fish %s 2#REQUIRES: command -v tmux 3 4isolated-tmux-start -C' 5function usr1_handler --on-signal SIGUSR1 6echo Got SIGUSR1 7# This repaint is not needed but make sure it is coalesced. 8commandline -f repaint 9end 10' 11 12isolated-tmux send-keys'kill -SIGUSR1 $fish_pid' Enter 13tmux-sleep 14isolated-tmux capture-pane -p 15# CHECK: prompt 0> kill -SIGUSR1 $fish_pid 16# CHECK: Got SIGUSR1 17# CHECK: prompt 1>