- Codespaces compatible
- iTerm (vi mode)
- Zsh
- Brew
- macOS settings
- macOS Apps
- Neovim
- VS Code
- Github CLI
- Alfred
- Preview Markdown, json, and files with Spotlight
On a fresh install, first run:
sudo softwareupdate -i -a
xcode-select --install
With curl:
cd; curl -#L https://github.com/lundgren2/dotfiles/tarball/master | tar -xzv --strip-components 1 --exclude={README.md}
Manual:
Inside you home directory (cd ~):
git clone https://github.com/lundgren2/dotfiles.git ~/.dotfiles
cd .dotfiles
make
.zshrc is sourced in interactive shells. It should contain commands to set up aliases, functions, options, key bindings, etc.
Zsh provides a built-in module zsh/zprof that can be used to profile Zsh functions. At the beginning of ~/.zshrc, add zmodload zsh/zprof. After restarting the shell, run zprof to show a rich output on Zsh startup loading.
There is also a function benchmark_function that time the shell startup 10 times.
- Authenticate Github CLI:
gh auth login. - Keyboard shortcuts: Change select the previous input source to:
^Spaceand Select next toAlt+Space. - Setup Jetbrains IntelliJ license
- Login to Logi Options account
