Skip to content

Instantly share code, notes, and snippets.

@bbqtd
bbqtd / macos-tmux-256color.md
Last active May 20, 2024 04:07
Installing tmux-256color for macOS

Installing tmux-256color for macOS

  • macOS 10.15.5
  • tmux 3.1b

macOS has ncurses version 5.7 which does not ship the terminfo description for tmux. There're two ways that can help you to solve this problem.

The Fast Blazing Solution

Instead of tmux-256color, use screen-256color which comes with system. Place this command into ~/.tmux.conf or ~/.config/tmux/tmux.conf(for version 3.1 and later):

@andersevenrud
andersevenrud / alacritty-tmux-vim_truecolor.md
Last active May 20, 2024 18:23
True Color (24-bit) and italics with alacritty + tmux + vim (neovim)

True Color (24-bit) and italics with alacritty + tmux + vim (neovim)

This should make True Color (24-bit) and italics work in your tmux session and vim/neovim when using Alacritty (and should be compatible with any other terminal emulator, including Kitty).

Testing colors

Running this script should look the same in tmux as without.

curl -s https://gist.githubusercontent.com/lifepillar/09a44b8cf0f9397465614e622979107f/raw/24-bit-color.sh >24-bit-color.sh
@timbophillips
timbophillips / set_win7_proxy_and_cpp_for_npm_and_git.bat
Last active November 14, 2018 18:41
Set up Windows 7 environment to run nodejs, npm, native builds, and Git behind a corporate web proxy
@echo off
:: this batch file:
:: 1. sets the username, password, and web proxy server in npm, git, and the windows environment.
:: 2. tells nom which version of c++ compiler and where it is
:: constants to set for your system
set npm_location=d:\nodejs\npm.cmd
:: these are just reminders for me and the things I was using on my system when I had this issue