Skip to content

config/setup for macOS/Linux/Windows: zsh, vim, tmux, vscode; old: Arch, awesome

Notifications You must be signed in to change notification settings

vogler/dotfiles

Repository files navigation

dotfiles

Screenshot 2022-09-16 at 00 55 08

./setup.sh will install and configure the software I use. The core setup for terminal/ssh is the same for macOS and Linux.

  • System packages
  • macOS
  • dotfile manager - not needed, just use ln -sf - see below for links
  • zsh - shell
    • prezto - configuration framework with sane defaults, aliases, functions... - zshrc
    • powerlevel10k - prompt - .p10k.zsh
    • fzf - fuzzy finder: ** for completion, ctrl-t for files, alt-c for cd, ctrl-r for history
  • Neovim - editor - .vimrc
  • .tmux.conf - mostly for ssh, iTerm on macOS
Click to show extracted vim plugins

Used Hardware

  • macOS: MBA M1, MBP Intel
  • Debian: Asus C434 Chromebook, RPi4, RPi3
  • Ubuntu: some servers
  • Windows 10: desktop PC, setup not automated

Benchmark / Profiling

zsh

See zsh-bench for details and its table with results for different configs.

$ git clone https://github.com/romkatv/zsh-bench ~/zsh-bench
$ ~/zsh-bench/zsh-bench
  ==> benchmarking login shell of user voglerr ...
  creates_tty=0
  has_compsys=1
  has_syntax_highlighting=1
  has_autosuggestions=1
  has_git_prompt=0
  first_prompt_lag_ms=28.856
  first_command_lag_ms=311.178
  command_lag_ms=13.115
  input_lag_ms=10.574
  exit_time_ms=87.635

vim

Profile nvim/vim with v --startuptime v.log; tail v.log (currently ~190ms).

Not needed

dotfile manager

Alt