mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-05 09:43:42 +08: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
|