mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-14 00:47:30 +00:00
14 lines
379 B
Fish
14 lines
379 B
Fish
|
#RUN: %fish %s
|
||
|
#REQUIRES: command -v tmux
|
||
|
|
||
|
isolated-tmux-start
|
||
|
|
||
|
isolated-tmux send-keys "function prepend; commandline --cursor 0; commandline -i echo; end" Enter
|
||
|
isolated-tmux send-keys "bind c-g prepend" Enter
|
||
|
isolated-tmux send-keys C-l
|
||
|
isolated-tmux send-keys 'printf'
|
||
|
isolated-tmux send-keys C-g Space
|
||
|
tmux-sleep
|
||
|
isolated-tmux capture-pane -p
|
||
|
# CHECK: prompt 2> echo printf
|