/dotfiles

🚀 Dotfiles and install script for good terminal and neovim enviroment in MacOS and Linux (x86_64 and aarch64) ⚙️

Primary LanguageLua

tlj dotfiles

Install the dotfiles and dependencies

The make script support MacOS and Linux and will install dotfiles, dependencies and common tools, like fd, ripgrep, neovim and homebrew.

Install directly from Github.

With Curl

curl -s https://raw.githubusercontent.com/tlj/dotfiles/master/install.sh | bash

With wget

wget -qO- https://raw.githubusercontent.com/tlj/dotfiles/master/install.sh | bash

Check out the repository instead, then run:

./setup.sh

Features

Tool Description
homebrew Homebrew
neovim editor
bat cat replacement
lsd ls -l replacement
kitty terminal emulator
lazygit simple terminal UI for git commands
git cz git commit tool to enforce conventional commit standard
autojump a cd command that learns
nerd fonts nerd fonts
jetbrains mono font Jetbrains Mono font
catppuccin themes catppuccin themes for neovim, bat, etc)
oh-my-zsh shell customization
powerlevel 10k a zsh theme
zsh-syntaz-highlighting Fish shell like syntax highlighting for zsh
zsh-autosuggestions Fish-like autosuggestions for zsh
fzf A command-line fuzzy finder
yabai A tiling window manager for macOS
skhd Simple hotkey daemon for MacOS

Dependencies

Zsh

The .zshrc installed by stow will try to load a ~/.zshrc-local file which has any special zsh config for the local computer, which shouldn't be shared. This file needs to be reated to avoid a warning on startup.

Known issues

Steps to install on a new Mac

git clone git@github.com:tlj/dotfiles

If xcode is not installed, accept the install, and re-run the git clone after xcode is installed. If you get an error about inactive developer path, you need to run

xcode-select --install

Dock: Move to the right, and set auto hiding on. System Settings:

  • Desktop & Dock -> Disable "Automaticall Rearrange Spaces"
  • Desktop & Dock -> Menu Bar -> Automatically hide and show the meny bar -> Always
  • Keyboard Shortcuts -> Mission Control -> Disable Move left/right, Enable CTRL-1, etc
  • Keyboard Shortcuts -> Modifier Keys -> Caps Lock -> Escape

From ~/dotfiles/ do:

./install.sh

On first run this will install only homebrew. After this is done, reload the terminal window to ensure that the correct PATHs are loaded for homebrew to work.

brew services start yabai
brew services start skhd
brew services start sketchybar