Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hilli/dotfiles
My dotfiles
https://github.com/hilli/dotfiles
Last synced: about 14 hours ago
JSON representation
My dotfiles
- Host: GitHub
- URL: https://github.com/hilli/dotfiles
- Owner: hilli
- License: mit
- Created: 2022-04-02T13:01:18.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-01T15:32:41.000Z (3 months ago)
- Last Synced: 2024-08-01T17:37:08.180Z (3 months ago)
- Language: Shell
- Size: 132 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dotfiles
Using https://www.chezmoi.io/ to handle the business.
Chezmoi Quickstart [here](https://www.chezmoi.io/quick-start/#start-using-chezmoi-on-your-current-machine).
Files here only handle the business for Linux and macOS (Chezmoi supports a lot more platforms thanks to [Go](https://go.dev/)).
## Usage
### On a fresh machine
Simply run this in the shell:
```shell
sh -c "$(curl -fsLS chezmoi.io/get)" -- init --apply hilli
```On a macOS machine, be sure that you are signed into the App Store
### Codespaces
GitHub Codespaces will automatically install the dotfiles if you point it a this repos in [the Codespaces settings](https://github.com/settings/codespaces) (You should fork it first and at least change vars in `.chezmoi.yaml.tmpl`). Codespaces will trigger the `install.sh` script in the root of the repo. This is also a way to set it up if you already have a checkout of this repo.
Codespaces puts this repo in `/workspaces/.codespaces/.persistedshare/dotfiles/` (No matter the name of you dotfiles repo). You can find logs in `/workspaces/.codespaces/.persistedshare/` where `creation.log` is the one you want to look at in the case of debugging your dotfiles setup. The `chezmoi` commmand itself is installed in `/workspaces/.codespaces/.persistedshare/dotfiles/bin/`, so do a this to apply changes again:
```shell
cd /workspaces/.codespaces/.persistedshare/dotfiles/
./bin/chezmoi apply
```