fork/fish-shell

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

kertyInstead of variable pass args to tmux fish directlye22d90cba

master
429 B17 linesraw
1#RUN: %fish %s
2#REQUIRES: command -v tmux
3
4isolated-tmux-start -C '
5    function usr1_handler --on-signal SIGUSR1
6        echo Got SIGUSR1
7        # This repaint is not needed but make sure it is coalesced.
8        commandline -f repaint
9    end
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>