https://github.com/woneill/dotfiles
https://github.com/woneill/dotfiles
chezmoi
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/woneill/dotfiles
- Owner: woneill
- Created: 2012-07-03T22:31:02.000Z (almost 14 years ago)
- Default Branch: main
- Last Pushed: 2024-10-28T16:22:13.000Z (over 1 year ago)
- Last Synced: 2024-11-02T08:22:46.321Z (over 1 year ago)
- Topics: chezmoi
- Language: Shell
- Size: 24.3 MB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bill O'Neill's Dot Files
I'm using these sets of scripts to manage my environments. They can be used to configure OSX, Linux, and Android.
## Pre-requisites
Everything is managed via [chezmoi](https://github.com/twpayne/chezmoi) so installing it is the first step. Follow the [chezmoi install guide](https://github.com/twpayne/chezmoi/blob/master/docs/INSTALL.md).
Running [setup.sh](setup.sh) should handle all installations (including
chezmoi) on OSX
### OSX
These will be installed via the [run_once_install-packages.sh.tmpl](run_once_install-packages.sh.tmpl) script if they're not already installed:
* [Homebrew](https://github.com/Homebrew/brew) for installing the Mac OS X dependencies
* [Homebrew Bundle](https://github.com/Homebrew/homebrew-bundle) is used to bundle up all Mac OS X dependencies
* [Homebrew Cask](https://github.com/caskroom/homebrew-cask) is used for installing desktop Mac applications
* Xcode
### Linux
No pre-requisites
### Android
* [Termux](https://play.google.com/store/apps/details?id=com.termux): an Android terminal emulator and Linux environment application that works directly with no rooting or setup required
## Usage
### Initial installation
```
chezmoi init --apply --verbose https://github.com/woneill/dotfiles.git
```
### Update from repo
```
chezmoi update
```
### Check for unmanaged files
```
chezmoi unmanaged
```
### Add new files or Edit existing files
```
# Add an existing file
chezmoi add
# Edit a file already managed
chezmoi edit
# Compare with current
chezmoi diff
# Apply the changes
chezmoi -v apply
# Commit updates to github
## Spawn shell in chezmoi directory
chezmoi cd
## Add new or changed files
git add -A
git commit -m ""
git push
## Exit from spawned shell
exit
```