Skip to content

Fumire/.dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

563 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

.dotfiles

Personal dotfiles for setting up a familiar shell, editor, Git, tmux, and macOS/Ubuntu development environment. The Makefile symlinks tracked configuration files into the home directory so a new machine can be brought up quickly.

Table of Contents

Required

  • make
  • git
  • curl
  • zsh
  • (neo)vim

Installation

Clone this repository and run the Makefile from the repository root.

git clone https://github.com/Fumire/.dotfiles.git ~/.dotfiles
cd ~/.dotfiles
make

The default make target installs the core shell and Vim configuration:

  • Symlinks zsh/zshenv to ~/.zshenv
  • Symlinks zsh/zshrc to ~/.zshrc
  • Symlinks zsh/alias.zsh to ~/.alias.zsh
  • Installs oh-my-zsh if ~/.oh-my-zsh is missing
  • Installs the zsh-syntax-highlighting oh-my-zsh plugin
  • Symlinks local oh-my-zsh themes into ~/.oh-my-zsh/themes
  • Symlinks vim/vimrc to ~/.vimrc

The installer uses symbolic links, so changes in this repository are reflected in your home directory. When a target file already exists and is not a symlink, the Makefiles back it up with a .bak.YYYYmmddHHMMSS suffix before linking.

Optional Components

Install additional configuration targets as needed:

make tmux_run
make git_run
make gnupg_run
make -C ssh "$HOME/.ssh/config"
make -C ssh decrypt_key
make -C nvim
make -C vim
make -C zsh

These commands install the following files:

  • make tmux_run: symlinks ~/.tmux.conf and ~/.tmux.conf.local
  • make git_run: symlinks ~/.gitconfig and ~/.gitignore_global
  • make gnupg_run: symlinks GnuPG config files and restarts gpg-agent
  • make -C ssh "$HOME/.ssh/config": symlinks ssh/config to ~/.ssh/config
  • make -C ssh decrypt_key: decrypts ~/Documents/PrivateKeys/id_ed25519.asc to ~/.ssh/id_ed25519, falling back to id_rsa.asc
  • make -C nvim: symlinks Neovim config files under ~/.config/nvim
  • make -C vim: symlinks Vim-related tooling config such as YAPF and TabNine files
  • make -C zsh: symlinks ~/.zlogout

macOS

On macOS, install Homebrew first if it is not already available, then run:

make mac_run

This runs brew bundle with mac/Brewfile.free to install the free Homebrew packages listed there. The macOS CI workflow checks the latest macOS environment: macOS CI

Ubuntu

On Ubuntu, install the required packages first, then run the default target:

make

The Ubuntu CI workflow checks the latest Ubuntu environment: Ubuntu CI

Acknowledgement

Kojandy/.dotfiles

About

Home, my sweet home 🏠🏘

Topics

Resources

License

Code of conduct

Security policy

Stars

0 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors