https://github.com/macx/dotfiles
Very own dotfiles repository
https://github.com/macx/dotfiles
Last synced: about 2 months ago
JSON representation
Very own dotfiles repository
- Host: GitHub
- URL: https://github.com/macx/dotfiles
- Owner: macx
- Created: 2022-07-14T11:33:52.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-15T10:19:02.000Z (almost 4 years ago)
- Last Synced: 2025-03-08T00:44:34.696Z (over 1 year ago)
- Language: Shell
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dotfiles @macx
Dotfiles are configuration files for varous programs on your computer, primarily recognizable by the beginning dot in the file name. This can resist per repository or system wide. This repository is my approach to sync these settings throughout different Mac-Installations.
## Installation
Run the following script to get this dotfiles installed on your system. It will backup your existing ones.
```shell
curl https://raw.githubusercontent.com/macx/dotfiles/main/scripts/config-init | bash
```
Please read the [Prequisites](./docs/prequisites.md) and follow it's instructoins to setup your maschine.
## Working with the Dotfiles
The Z Shell config sets up `dots` which is an alias to `git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME`.
This means you can use the following commands from any directory, and it will properly tracked in the repro at `~./.dotfiles`.
```shell
dots add ./path/to/file
dots commit -m "Add some file"
dots push
```
To get an update:
```shell
dots pull
```