Giter Site home page Giter Site logo

dotfiles-alt's Introduction

Jerry's dotfiles

These dotfiles are managed using chezmoi.

Upon fresh installation, the run_once_install-packages.sh (idempotent and POSIX compliant) script would be executed once.

What I use

Tools Description
Terminal emulator Windows Terminal (on WSL2) & iTerm2
Package manager Homebrew
Unix shell Z shell
Zsh theme Powerlevel10k
Dotfiles manager chezmoi

Getting started

Check out the Quick Start page.

Install chezmoi and the dotfiles on any new machine

With a single command:

sh -c "$(curl -fsLS chezmoi.io/get)" -- init --apply ngshiheng

Update

On any machine, you can pull and apply the latest changes from your repo with:

chezmoi update -v

Prompts

For managing machine-to-machine differences.

To add/remove/edit prompts:

vim ~/.local/share/chezmoi/.chezmoi.toml.tmpl

To test templates, use chezmoi execute-template < dot_gitconfig.tmpl (ref).

run_once_install-packages.sh script

The run_once_install-packages.sh script runs with the following assumptions (i.e. requirements):

  • bash is installed; this is so that it can install Homebrew.
  • zsh as the default Unix shell of choice.

Check out the Understand How Scripts Work page.

Reference

How To Manage Dotfiles With Chezmoi

dotfiles-alt's People

Contributors

ngshiheng avatar

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.