1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-18 20:10:03 +02:00

crazy tmux and fzf stuff

This commit is contained in:
Henrik Hautakoski 2024-07-26 14:18:01 +02:00
parent 734df8b01e
commit b84701ce35
43 changed files with 2130 additions and 7 deletions

View file

@ -0,0 +1,35 @@
#!/usr/bin/env expect
# disables script output
log_user 0
spawn tmux
# Waiting for tmux to attach. If this is not done, next command, `send` will
# not work properly.
sleep 1
# this is tmux prefix + alt + u
send "u"
set timeout 5
expect_after {
timeout { exit 1 }
}
expect {
"Removing \"tmux-example-plugin\""
}
expect {
"\"tmux-example-plugin\" clean success"
}
expect {
"Done, press ENTER to continue." {
exit 0
}
}
exit 1