fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
1f18b9715
master
1#RUN: %fish %s 2#REQUIRES: command -v tmux 3#REQUIRES: uname -r | grep -qv Microsoft 4 5isolated-tmux-start -C' 6set -g fish_autosuggestion_enabled 0 7complete : -s c -l clip 8complete : -s q -l qrcode 9complete true -l profile 10complete true -l ProfileManager 11' 12touch somefile1 13touch somefile2 14 15isolated-tmux send-keys C-l': -c' 16 17function tab 18isolated-tmux send-keys Tab 19tmux-sleep 20isolated-tmux capture-pane -p| awk '/./ { print "[" $0 "]" }' 21end 22 23tab 24# CHECK: [prompt 0> : -cq] 25tab 26# CHECK: [prompt 0> : -cq somefile] 27# CHECK: [somefile1 somefile2] 28tab 29# CHECK: [prompt 0> : -cq somefile1] 30# CHECK: [somefile1 somefile2] 31 32isolated-tmux send-keys C-u C-l'true --pro' 33tab 34# CHECK: [prompt 0> true --profile] 35# CHECK: [--profile --ProfileManager] 36tab 37# CHECK: [prompt 0> true --profile] 38# CHECK: [--profile --ProfileManager] 39isolated-tmux send-keys foo 40tmux-sleep 41isolated-tmux capture-pane -p| awk '/./ { print "[" $0 "]" }' 42# CHECK: [prompt 0> true --profile foo]