add tmux, add asciinema

This commit is contained in:
Hactarus 2018-06-19 13:06:19 +00:00
parent 7e6efba1eb
commit e9d7e9ff15
4 changed files with 200 additions and 1 deletions

View file

@ -27,6 +27,10 @@
cmds = [["@install", "htop"]] cmds = [["@install", "htop"]]
links = [[".config/htop/htoprc", "config/htop"]] links = [[".config/htop/htoprc", "config/htop"]]
[tasks.asciinema]
cmds = [["@install", "asciinema"]]
links = [[".config/asciinema/config", "config/asciinema"]]
[tasks.tmux] [tasks.tmux]
rejects = [["which", "tmux"]] rejects = [["which", "tmux"]]
cmds = [["@install", "tmux"]] cmds = [["@install", "tmux"]]

34
config/asciinema Normal file
View file

@ -0,0 +1,34 @@
[api]
; API server URL, default: https://asciinema.org
; If you run your own instance of asciinema-server then set its address here
; It can also be overriden by setting ASCIINEMA_API_URL environment variable
url = https://rec.edmund.ovh
[record]
; Command to record, default: $SHELL
command = /bin/zsh
; Enable stdin (keyboard) recording, default: no
stdin = yes
; List of environment variables to capture, default: SHELL,TERM
env = SHELL,TERM,USER
; Limit recorded terminal inactivity to max n seconds, default: off
idle_time_limit = 2
; Answer "yes" to all interactive prompts, default: no
; yes = yes
; Be quiet, suppress all notices/warnings, default: no
; quiet = true
[play]
; Playback speed (can be fractional), default: 1
speed = 2
; Limit replayed terminal inactivity to max n seconds, default: off
idle_time_limit = 1
A very minimal config file could look like that:
[record]
idle_time_limit = 2

View file

@ -23,4 +23,151 @@ Host ansible
Host node* Host node*
User root User root
Port 16843 Port 16843
IdentityFile ~/.ssh/ed25519 IdentityFile ~/.ssh/ed25519
Host 213.186.33.88
Hostname 213.186.33.88
User qgodefro
Port 22
IdentityFile /home/qgodefro/.ssh/ovh_sdev
Host z3.ovh.net
Hostname z3.ovh.net
User qgodefro
Port 22
IdentityFile /home/qgodefro/.ssh/cache_z3
Host z3b.ovh.net
Hostname z3b.ovh.net
User qgodefro
Port 22
IdentityFile /home/qgodefro/.ssh/cache_z3
#Host *.reseller.mis.ovh.net
# ProxyCommand ssh -F ~/.ssh/config z3 -t -- root@%h -p %p
#Host *.ovh.net
# ControlMaster auto
# ControlPath ~/.ssh/mux-%r@%h:%p
# ControlPersist 15m
Host node122140
Port 16843
Hostname 91.121.122.140
IdentityFile /home/qgodefro/.ssh/desk
Host stash.ovh.net
User git
Hostname stash.ovh.net
Port 7999
IdentityFile /home/qgodefro/.ssh/desk
Host git.edmund.ovh
User git
Hostname git.edmund.ovh
Port 22
IdentityFile /home/qgodefro/.ssh/desk
Host qgodefro1
User debian
Hostname qgodefro1.rungs.ovh
Port 22
IdentityFile /home/qgodefro/.ssh/desk
Host node122140
User root
Hostname 91.121.122.140
Port 26843
IdentityFile /home/qgodefro/.ssh/desk
Host run-gra3
User debian
Hostname 145.239.157.139
IdentityFile /home/qgodefro/.ssh/ovh_sdev
Host run-gra1
User debian
Hostname 213.32.76.187
IdentityFile /home/qgodefro/.ssh/ovh_sdev
Host meltingpot
User gs
Hostname mozg-meltingpot.ovh.ha.ovh.net
Host davros
User hactar
Hostname davros.ovh
Port 16843
IdentityFile /home/qgodefro/.ssh/desk
Host node87222
User arch
Hostname node87222.ood.ovh
Port 16843
IdentityFile /home/qgodefro/.ssh/desk
Host mrboogie
User quentin
Hostname docki.bobobby.com
IdentityFile /home/qgodefro/.ssh/auberge
Port 1492
Host moker
User quentin
Port 1122
IdentityFile ~/.ssh/auberge
Hostname moker.fr
Host beta
User root
Port 22
Hostname beta.namek.fr
IdentityFile ~/.ssh/auberge
Host dev.bobobby.com
User git
Hostname dev.bobobby.com
IdentityFile ~/.ssh/auberge
Host *.techwars.ovh
User debian
IdentityFile ~/.ssh/auberge
Host davros
User hactar
Hostname davros.ovh
Port 16843
IdentityFile /root/.ssh/id_rsa
Host beta.namek.fr
User root
Port 22
IdentityFile /root/.ssh/auberge
Host node1271
User pi
Port 7139
Hostname node1271.ood.ovh
IdentityFile /root/.ssh/id_rsa
Host gpu
Hostname ns3055139.ip-213-32-26.eu
Port 22
IdentityFile /root/.ssh/gpu
Host avimbo
Hostname sshcloud.cluster024.hosting.ovh.net
Port 41045
User avimboo
IdentityFile /root/.ssh/id_rsa
Host ansible
Hostname node87222.ood.ovh
IdentityFile /root/.ssh/auberge
Port 16843
User arch
Host node*
User root
Port 16843
IdentityFile /root/.ssh/auberge

View file

@ -108,3 +108,17 @@ if-shell "test '#{$TMUX_VERSION_MAJOR} -gt 1 -o \( #{$TMUX_VERSION_MAJOR} -eq 1
if-shell "test '#{$TMUX_VERSION_MAJOR} -gt 1 -o \( #{$TMUX_VERSION_MAJOR} -eq 1 -a #{$TMUX_VERSION_MINOR} -ge 8 \)'" "unbind '\"'; bind '\"' split-window -v -c '#{pane_current_path}'" if-shell "test '#{$TMUX_VERSION_MAJOR} -gt 1 -o \( #{$TMUX_VERSION_MAJOR} -eq 1 -a #{$TMUX_VERSION_MINOR} -ge 8 \)'" "unbind '\"'; bind '\"' split-window -v -c '#{pane_current_path}'"
if-shell "test '#{$TMUX_VERSION_MAJOR} -gt 1 -o \( #{$TMUX_VERSION_MAJOR} -eq 1 -a #{$TMUX_VERSION_MINOR} -ge 8 \)'" 'unbind v; bind v split-window -h -c "#{pane_current_path}"' if-shell "test '#{$TMUX_VERSION_MAJOR} -gt 1 -o \( #{$TMUX_VERSION_MAJOR} -eq 1 -a #{$TMUX_VERSION_MINOR} -ge 8 \)'" 'unbind v; bind v split-window -h -c "#{pane_current_path}"'
if-shell "test '#{$TMUX_VERSION_MAJOR} -gt 1 -o \( #{$TMUX_VERSION_MAJOR} -eq 1 -a #{$TMUX_VERSION_MINOR} -ge 8 \)'" 'unbind %; bind % split-window -h -c "#{pane_current_path}"' if-shell "test '#{$TMUX_VERSION_MAJOR} -gt 1 -o \( #{$TMUX_VERSION_MAJOR} -eq 1 -a #{$TMUX_VERSION_MINOR} -ge 8 \)'" 'unbind %; bind % split-window -h -c "#{pane_current_path}"'
# Make mouse useful in copy mode
#set -g mode-mouse on
#set -g mouse-select-pane on
#set -g mouse-resize-pane on
#set -g mouse-select-window on
# Allow xterm titles in terminal window, terminal scrolling with scrollbar, and setting overrides of C-Up, C-Down, C-Left, C-Right
# (commented out because it disables cursor navigation in vim)
#set -g terminal-overrides "xterm*:XT:smcup@:rmcup@:kUP5=\eOA:kDN5=\eOB:kLFT5=\eOD:kRIT5=\eOC"
set -g history-limit 90000
set -g alternate-screen on
#set -s escape-time 50%