Skip to content

Configuration preferences for zsh, vim, and other dot-able stuff

License

Notifications You must be signed in to change notification settings

henrypoydar/dotfiles

 
 

Repository files navigation

Dotfiles

Sets up my OSX configuration preferences and dependencies for zsh, vim, and other dot-configured packages.

Originally forked from @ryanb, with pastes from @robbyrussell's oh-my-zsh effort, @devjj's vim-config, @holman, @skwp's YADR and open sourced dotfiles from various other nerds.

Tested with MacOS 14.4, "Sonoma", as of this writing.

Customed tailored for me. YMMV.

Development assumptions

Language and packaging version management is controlled at the project level with Docker or asdf.

Installation

Prep

  • Install XCode
  • Install XCode command line tools: xcode-select --install
  • Launch XCode and accept terms

Install

  • Git clone this repo into ~/dotfiles (uses system git, but we'll install a fresh one via Homebrew in the next step)
  • Run the script with rake install (uses system Ruby)

Post Install

Install Docker desktop, install asdf -- we assume Homebrew for the latter.

Then:

brew upgrade asdf

asdf add plugin nodejs
asdf install nodejs lts

export RUBY_CONFIGURE_OPTS=--enable-yjit
asdf add plugin ruby
asdf install ruby latest

asdf add plugin yarn
asdf install yarn latest

asdf global ruby 3.2.3
asdf global nodejs lts
asdf global yarn 1.22.17

Modify versions as needed

General

  • Install task invokes homebrew for updates and dependent packages
  • Install task installs fonts

Zsh

  • Prompt from powerlevel10k
  • "Fasd" fast directory switching tool
  • Vimified command line (you start in insert mode)
  • Git key bindings (see zsh/bindings.zsh)

Vim

  • Single, simple and well-commented vimrc - it's all there, including plugin selection
  • Special "writing mode" - toggle with ,w
  • Rspecs (or Ruby code) will run out-of-band in Terminal.app via Cmd+r

About

Configuration preferences for zsh, vim, and other dot-able stuff

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 48.9%
  • Vim Script 32.2%
  • Ruby 11.1%
  • AppleScript 4.5%
  • HTML 3.3%