GithubHelp home page GithubHelp logo

dotfiles's Introduction

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 [email protected]: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

dotfiles's People

Contributors

dhnza avatar

Watchers

 avatar

Forkers

tygoetsch

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.