• Sl chevron_right

      How to create a new tmux window with a given name

      pubsub.slavino.sk / sleeplessbestie · Friday, 24 September, 2021 - 06:00 edit

    Create a new tmux window with a given name. # create new window and change name bind-key C command-prompt -p "Create window with name:" "new-window; rename-window '%%'" Use prefix key C to provide a name and create a new tmux window.

    Značky: #Tmux, #DailyOps, #Linux

    • Sl chevron_right

      How to create personal tmux configuration

      pubsub.slavino.sk / sleeplessbestie · Wednesday, 8 September, 2021 - 11:00 edit

    This is an updated blog post to reflect changes over the last five years (especially GitHub issue #1688) as I am still tmux terminal multiplexer on daily basis. Brief description Set default terminal type. set -g default-terminal "screen-256color" Disable mouse support. set -g mouse off Set default shell. set -g default-shell /bin/zsh Unbind the default […]

    Značky: #DailyOps, #Linux, #Tmux

    • Sl chevron_right

      How to record terminal session in a tmux friendly way

      pubsub.slavino.sk / sleeplessbestie · Monday, 26 July, 2021 - 12:00 edit

    Record terminal session in a tmux friendly way. Use script from bsdutils package to record terminal using session name-pane name-date naming scheme. #!/bin/bash # https://sleeplessbeastie.eu/2022/01/28/how-to-record-terminal-session-in-a-tmux-friendly-way/ typescript_directory="${HOME}/.typescript" typescript_log_type="io" # "io" (in/out) or "out" (only out) typescript_name="$(tmux display-message -p &apos#S-#P&apos)-$(date +%Y%m%d_%H%M)" if [ ! -d "$typescript_directory" ]; then mkdir $typescript_directory fi script --append \ --log-timing \ "${typescript_directory}/${typescript_name}.timing" […]

    Značky: #DailyOps, #Tmux, #Linux

    • chevron_right

      I love Free Software

      Stefan · Sunday, 14 February, 2021 - 15:20

    Happy Free Software Day!

    #iloveFS