Categories
Bash Customization MAC Tutorial

Tmux with Native Scrollback on macOS

Tmux is a powerful terminal multiplexer that lets you run multiple terminal sessions within a single window. However, when using tmux with macOS Terminal.app, you’ll encounter two common frustrations: colors don’t display properly, and you can’t use your terminal’s native scroll functionality. Instead, tmux captures scrolling and requires you to enter “copy mode” just to view previous output.

The Problem

Categories
Bash Customization MAC Tutorial

Share Shell History Across Multiple Terminal Sessions

If you work with multiple terminal tabs or windows—especially in iTerm or Terminal.app—you've probably noticed that each session maintains its own isolated command history. This becomes frustrating when you run a command in one tab and want to recall it in another. By default, bash only saves history when a session closes, and each session can overwrite the others' history.

The Problem

Categories
MAC Tutorial

Let the Mac Sleep

When you step away from your Mac, knowing the right keyboard shortcuts can save time, conserve energy, and extend your battery life. After spending considerable time researching, I discovered these essential shortcuts that every Mac user should know.

The Two Types of Sleep

Your Mac offers two different sleep options, each suited for different situations:

Put Mac to Sleep Immediately

Cmd + Opt + Eject