Skip to content
/ dotfiles Public

My collection of dotfiles, plugins, and other configurations.

Notifications You must be signed in to change notification settings

dhnza/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

CI

Installation

Automatic

Run the automatic installation script:

curl -Ls https://gist.github.com/dhnza/6b384f52ce32342761cc00f9d26311fa/raw/dotfiles-init.sh | /bin/bash

Manual

Clone dotfiles into a bare git repository. The git tracking information will be stored in ~/.dotfiles.

git clone --bare git@github.com:dhnza/dotfiles.git ~/.dotfiles

For convenience, create a dotfiles alias for managing the repository.

alias dotfiles='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'

Disable showing files not tracked by the git repository,

dotfiles config --local status.showUntrackedFiles no

Backup your existing configuration into ~/.dotfiles-backup.

mkdir -p ~/.dotfiles-backup && dotfiles checkout 2>&1 | egrep '\s+\.' | xargs -i mv {} ~/.dotfiles-backup

Checkout your dotfiles to your $HOME:

dotfiles checkout

Dependencies

My configuration expects the following packages are installed.

To install (most of) these automatically, run the .dotfiles-install.sh script included in this repository.

Additional Configuration

Some tools require additional manual configuration, as described below.

Meslo Nerd Font

The Powerlevel10k zsh theme requires the custom Meslo Nerd Font to correctly draw the various glyphs and symbols used by the theme.

See the Powerlevel10k docs for details on how to install the font and enable it for your terminal app.

iTerm2

See iTerm2 preferences for details on how to load and sync iTerm2 preferences with the files tracked by this repository.

Sources

  1. https://www.anand-iyer.com/blog/2018/a-simpler-way-to-manage-your-dotfiles.html
  2. https://developer.atlassian.com/blog/2016/02/best-way-to-store-dotfiles-git-bare-repo

About

My collection of dotfiles, plugins, and other configurations.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published