#shell
Public notes from activescott tagged with #shell
Tuesday, June 16, 2026
Sunday, April 12, 2026
Ghostty
Ghostty is a fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration.
Optimize your terminal setup - Claude Code Docs
The /terminal-setup command is only visible in terminals that require manual configuration. If you’re using iTerm2, WezTerm, Ghostty, or Kitty, you won’t see this command because Shift+Enter already works natively.
Xterm.js
Your Terminal Can't Tell Shift+Enter from Enter
Friday, January 23, 2026
Tmux Cheat Sheet & Quick Reference | Session, window, pane and more
multi-pane terminal:
tmux is a terminal multiplexer. It lets you switch easily between several programs in one terminal, detach them (they keep running in the background) and reattach them to a different terminal.
Ctrl + B + >: Open pane actions menu
Navigation:
Ctrl + B + %: Split the current pane with a vertical line to create a horizontal layoutCtrl + B + ": Split the current with a horizontal line to create a vertical layoutCtrl + B + ➡️: Switch to pane to the direction (works with ⬅️➡️⬇️⬆️)Ctrl + B + z: Zoom the current pane (make it maximized or minimized)
Sessions: tmux starts a session that lives in the background like screen does. So if ssh deteaches, the session lives on until reboot or until it's killed.
tmux new -s mysession: Allows naming a session -otherwise a random session name is generated.tmux ls: List sessions.tmux attach -t mysession: Reattach to session.tmux kill-session -t mysession: Clean up when done.Ctrl-B D: Manually detach from a running session.
Command Mode:
Ctrl + B + :: Enter command mode.
Commands:
:resize-pane -D|-U|-L|-R <number>:-D(down),-U(up),-L(left), or-R(right).<number>is the number of "cells" i.e. character grid rows/columns.- NOTE: To resize a pane in tmux, press
Ctrl+bfollowed byCtrland the arrow keys to adjust the size by one cell.
- NOTE: To resize a pane in tmux, press