https://github.com/jlucktay/dotfiles
My dotfiles, managed with https://github.com/twpayne/chezmoi
https://github.com/jlucktay/dotfiles
bash chezmoi dotfiles
Last synced: 8 months ago
JSON representation
My dotfiles, managed with https://github.com/twpayne/chezmoi
- Host: GitHub
- URL: https://github.com/jlucktay/dotfiles
- Owner: jlucktay
- Created: 2018-09-27T10:10:01.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2025-02-05T16:29:58.000Z (over 1 year ago)
- Last Synced: 2025-02-08T12:09:12.291Z (over 1 year ago)
- Topics: bash, chezmoi, dotfiles
- Language: Shell
- Homepage:
- Size: 193 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dotfiles
My dotfiles, managed with [chezmoi](https://github.com/twpayne/chezmoi).
## Bootstrap
Run this to bootstrap a new environment:
``` shell
curl --fail --location --silent https://raw.githubusercontent.com/jlucktay/dotfiles/main/bootstrap.sh | bash
```
Set `CHEZMOI_PURGE=1` on the script execution to remove Chezmoi's source/config directories after initialising and
applying:
``` shell
curl --fail --location --silent https://raw.githubusercontent.com/jlucktay/dotfiles/main/bootstrap.sh \
| CHEZMOI_PURGE=1 bash
```
### Reminders
On macOS, after installing a modern version of Bash (probably with Homebrew) don't forget to (re)set the default shell, so that desktop/UI apps inherit all of the things from the Bash profile.
First, append the path of the Homebrew-managed Bash binary to the list of available shells:
```shell
echo "$(brew --prefix)/bin/bash" | sudo tee -a /etc/shells
```
Next, use `chsh` to set it as your new default:
```shell
chsh -s "$(brew --prefix)/bin/bash"
```
Finally, reboot, and rejoice!