My dotfiles...
Find a file
Fernando Schauenburg fb1b6a3bda zsh: fix changing cursor shape in tmux + iTerm2
Most terminals use the VT520 DECSCUSR escape sequences for setting the
cursor shape, documented at:

    https://invisible-island.net/xterm/ctlseqs/ctlseqs.txt

iTerm2, however, uses a set of proprietary escape codes, documented at:

    https://iterm2.com/documentation-escape-codes.html

The issue I had was that tmux recognizes the VT520 DECSCUSR codes and
knows how to translate them itself to iTerm2. But tmux does not accept
the iTerm2 codes as input, so deciding to use these proprietary codes
only based on the presence of `$ITERM_SESSION_ID` did not work when
running tmux. The solution is to revert to the VT520 codes when running
inside of tmux (even inside iTerm2) and let it translate to iTerm2.
2022-11-18 20:34:32 +01:00
config zsh: fix changing cursor shape in tmux + iTerm2 2022-11-18 20:34:32 +01:00
home zsh: make `~/.zshenv' as small as possible 2022-10-21 20:16:10 +02:00
.gitattributes install: make ~/.config a symlink into dotfiles 2022-02-07 19:26:29 +01:00
.gitignore vim: show hidden files when searching dotfiles with telescope 2022-07-04 22:33:38 +02:00
.key Add git-crypt key 2019-06-20 00:47:49 +02:00
install.sh install: update default git committer e-mail 2022-10-24 19:25:47 +02:00
README.md Update README 2022-09-26 21:06:39 +02:00
terminal-italics.terminfo Add italic support to the TERMINFO database 2022-10-12 11:52:52 +02:00

Prerequisites

git-crypt and gpg are needed to decrypt sensitive information in the repository.

Installation

Steps:

  1. Clone the repo.
  2. Decrypt key & initialize git-crypt to access sensitive data.
  3. Run install.sh

Gimme the code:

git clone https://git.schauenburg.me/fernando/dotfiles.git $HOME/.dotfiles
cd $HOME/.dotfiles
gpg -d --output - <(base64 -d .key) | git crypt unlock -
./install.sh