My personal set of configuration files.
# As instructed by https://brew.sh/
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Could be a good idea to backup your .config folder first
$ mv ~/.config ~/.config.bak
# Clone this repository into ~/.config
$ git clone https://github.com/izeau/.config ~/.config
# Install packages, plugins, etc.
$ make -C ~/.config
Feel free to merge ~/.config.bak
and ~/.config
afterwards.
# Keep existing ZSH history
$ mv ~/.zsh_history ~/.config/zsh/.zsh_history
# Backup the .zshenv file, if any
$ cp ~/.zshenv ~/.zshenv.bak
$ zsh -c '> ~/.zshenv <<<"source ~/.config/zsh/.zshenv"'
# Pull changes
$ git -C ~/.config pull
# Update packages, plugins, etc.
$ make -C ~/.config
# Create a temporary directory
$ cd $(mktemp -d)
# Download the theme, and import it
$ curl -O https://raw.githubusercontent.com/mbadolato/iTerm2-Color-Schemes/master/schemes/ayu.itermcolors
$ open ayu.itermcolors
Other iTerm2 settings:
- Appearance / General / Theme: Minimal
- Appearance / Panes / Side margins: 8
- Appearance / Panes / Top & bottom margins: 8
- Profiles / Default / General / Basics / Name: (empty string)
- Profiles / Default / General / Basics / Title: Profile
- Profiles / Default / General / Command / Command:
/opt/homebrew/bin/tmux new-session -A
- Profiles / Default / Colors / Color preset: ayu
- Profiles / Default / Colors / Smart box cursor color: (checked)
- Profiles / Default / Text / Text Rendering / Blinking text: (checked)
- Profiles / Default / Text / Text Rendering / Italic text: (checked)
- Profiles / Default / Text / Text Rendering / Use built-in Powerline glyphs: (checked)
- Profiles / Default / Text / Font: FiraCode Nerd Font Mono / Regular / 14
- Profiles / Default / Text / Font / Use ligatures: (checked)
Add the following line at the top of /etc/pam.d/sudo
:
auth sufficient pam_tid.so