Skip to content

jangroth/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

My dotfiles for macOS and Linux.

Tools configured

  • zsh — shell config, aliases, functions, completions, oh-my-zsh plugins (fzf, autosuggestions, syntax highlighting)
  • starship — shell prompt
  • tmux — terminal multiplexer
  • vim — editor
  • git — global config
  • vscode — editor settings

Setup

Run all setup scripts at once:

make install               # skip already-installed dependencies
make reinstall             # force re-fetch all remote dependencies
DOT_VERBOSE=true make install  # verbose/trace output

Or run individual scripts:

./scripts/10_setup_zsh.sh
./scripts/15_setup_starship.sh
./scripts/20_setup_tmux.sh
./scripts/30_setup_vim.sh
./scripts/40_setup_git.sh
./scripts/50_setup_vscode.sh

Linting

Check syntax of all config and shell files:

make lint

Testing with Docker

Build and run a Linux container to test the setup:

make docker-build
make docker-run

Then inside the container:

make install

Helper functions

  • pro [path] — jump to a project directory under $PROJECTS_HOME (~/Projects on macOS, ~ on Linux), with tab completion for nested paths

About

Dotfiles for MacOS and Linux

Resources

Stars

Watchers

Forks

Contributors