Giter VIP home page Giter VIP logo

dotfiles's Introduction

Latest commit

My dotfiles managed by chezmoi.

Install them with:

chezmoi init --apply AjayKMehta

Workflow

Subsequently, use this to get latest changes from this repo:

chezmoi update

If you just want to pull latest changes and see what happens:

chezmoi git pull -- --autostash --rebase && chezmoi diff

If the changes are OK, you can then:

chezmoi apply

To see difference between source and target directories: chezmoi diff.

To add changes from target directory, use chezmoi add

# Need --template here because source file is template using variables!
chezmoi add --template ~/.gitconfig

After reviewing changes, please feel free to commit changes.

Troubleshooting

Check config:

chezmoi dump-config

Verify template:

cat ~/.local/share/chezmoi/.chezmoi.toml.tmpl | chezmoi execute-template --init --promptString gpgrecipient='TEST'

See data:

chezmoi data

Misc

๐Ÿ‘‰ Stack config file is not in ~/ but I created a link.

New-Item -Path ~\.stack\config.yaml -Value D:\sr\config.yaml -ItemType SymbolicLink
chezmoi add --template --follow ~\.stack\config.yaml

dotfiles's People

Contributors

ajaykmehta avatar

Stargazers

 avatar

Watchers

 avatar  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.