Skip to content

lundgren2/dotfiles

Repository files navigation

Dotfiles

By: Tobias Lundgren

lundgren2-dotfiles

Features

  • Codespaces compatible
  • iTerm (vi mode)
  • Zsh
  • Brew
  • macOS settings
  • macOS Apps
  • Neovim
  • VS Code
  • Github CLI
  • Alfred
  • Preview Markdown, json, and files with Spotlight

Install 🛠

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

ZSH

.zshrc is sourced in interactive shells. It should contain commands to set up aliases, functions, options, key bindings, etc.

Profiling

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.

Manual steps:

  • Authenticate Github CLI: gh auth login.
  • Keyboard shortcuts: Change select the previous input source to: ^Space and Select next to Alt+Space.
  • Setup Jetbrains IntelliJ license
  • Login to Logi Options account

Credits

About

My dotfiles and other settings for MacOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published