TIL: How to Fix ”Cannot Read Termcap Database” With Tmux and Kitty on MacOs

The Problem I use the Kitty terminal emulator with Tmux as my main tool for working with code. My Tmux settings (~/.tmux.conf) contain the following lines to enable true-color-support: # true colors set -g terminal-overrides ',xterm-256color:Tc' set -g default-terminal "tmux-256color" set -as terminal-overrides ',xterm*:sitm=\E[3m' When I open tmux on MacOs I get the following error message: Cannot read termcap database; using dumb terminal settings. The Solution Solution as a GitHub Gist:
Read more →

I Started My New Job (And Have MacOS Woes)

Today I started my first job in tech. While I’m pretty excited, it’s a big step. I have to learn new workflows and tools (Jira) and become familiar with a new code-base (Angular nx workspace). Plus, I now have a Mac for work. I underestimated the differences between my Linux box and MacOs. As terminal user with lots of scripts and shell modifications, I heavily rely on my dotfiles. I came to the realization that my files are not as portable as I’ve thought.
Read more →

TIL: How to Remove Headers From ps Command on MacOs

Today I’ve started to setup my MacBook Pro for work. It’s my first Mac and I’m not amused. If you only know Linux, there are some pitfalls. My .bashrc script contains the following lines: # # ~/.bashrc # # Fish if [[ $(ps --no-header --pid=$PPID --format=cmd) != "fish" ]] then exec fish fi I use bash as my login shell, but fish as my main interactive shell. Fish is not POSIX-compliant which can lead to problems.
Read more →

Sign up for the newletter!

powered by Buttondown