Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moviemaker93/dotfile-slim
https://github.com/moviemaker93/dotfile-slim
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/moviemaker93/dotfile-slim
- Owner: MovieMaker93
- License: mit
- Created: 2024-09-17T17:09:30.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-17T17:38:26.000Z (about 2 months ago)
- Last Synced: 2024-09-17T22:00:34.829Z (about 2 months ago)
- Language: Lua
- Size: 48.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dotfiles
This repository contains my dotfiles for configuring new machines or initializing development containers using the Chezmoi tool.
It provides cross-platform dotfiles compatible with macOS and various Linux distributions.## Requirements
- Chezmoi (must be installed)
## Installation
The `startup.sh` script will install the appropriate package manager (Homebrew for macOS, Nix for Linux) and set up the dotfiles:
```bash
curl -sfL https://raw.githubusercontent.com/MovieMaker93/devpod-dotfiles-chezmoi/main/.startup.sh | bash
```This script initializes and applies Chezmoi with this GitHub repository.
## Adding New Dotfiles
If you want to add new dotfiles or modify the existing ones:
```bash
chezmoi add
```Then navigate to .local/share/chezmoi to push changes to git.
## Updating Dotfiles
To pull latest changes:
```bash
chezmoi git pull -- --autostash --rebase && chezmoi diff
```If you're satisfied with the changes, apply them:
```bash
chezmoi apply
```---