💾 Archived View for midnight.pub › posts › 1097 captured on 2024-05-10 at 12:09:32. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

Midnight Pub

the cycle of terminals

~tetris

I've once again switched terminals, hopefully this time for good

My Previous Loves

I've tried them all I think, but these are the one's that mostly come to mind:

Fling with an Old Partner (with a twist)

My plan now is to switch back to Alacritty (it just feels snappier), and use tmux for tabbing and session management. That is, tmux will be my default terminal a la:

## in ~/.bashrc
if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then
  exec tmux
fi

The best part is that Tmux comes with a whole ton of handy plugins[4], where you can integrate cpu+mem+network+weather metrics into the status bar, meaning I can significantly clean up the status bar in my desktop and move everything into the terminal.

Plus you can save and restore tmux sessions across reboots[5], making it extremely handy for overcoming that initial early morning focus-inertia.

I just need to get used to typing C-b C-s more.

Hope this post convinces people that tmux is really more of a desktop manager itself (sans the windows), than just a cool multiplexing tool for detaching processes.

Happy Friday!

~~~~~~~~~~~~~~~~~~~~~~~~~~~

Refs:

1: https://github.com/alacritty/alacritty

2: https://tools.suckless.org/tabbed/

3: https://github.com/software-jessies-org/jessies/wiki/Terminator

4: https://github.com/tmux-plugins/list

5: https://github.com/tmux-plugins/tmux-resurrect

Write a reply

Replies

~inquiry wrote (thread):

I've loved tmux for since before I can remember (which can mean more than one thing at my age...).

I changed the prefix to Ctrl-a not too long into my tmux journey, though.

I think I did that primarily for speed, but wouldn't be surprised if there were a shortcut conflict involved. If so, I can't remember what it was - possibly for having avoided it all these years?