All checks were successful
continuous-integration/drone/push Build is passing
|
||
---|---|---|
bin | ||
dot_bash_completion.d | ||
dot_conan | ||
dot_local/share/fonts | ||
ergodox | ||
private_dot_config | ||
private_dot_docker | ||
private_dot_gnupg | ||
.chezmoi.toml.tmpl | ||
.chezmoiignore | ||
.drone.yml | ||
.gitignore | ||
.luacheckrc | ||
.pre-commit-config.yaml | ||
dot_aliases | ||
dot_bash_profile | ||
dot_bash_prompt | ||
dot_bashrc | ||
dot_functions | ||
dot_inputrc | ||
dot_Xresources.tmpl | ||
private_dot_npmrc.tmpl | ||
README.md | ||
run_once_z10-base.sh.tmpl | ||
run_once_z20-desktop-environment.sh.tmpl | ||
run_z10-fonts.sh.tmpl | ||
setup.sh |
dotfiles
Installing
curl -sfL https://git.dotcircle.dev/stijn/dotfiles/raw/branch/main/setup.sh | bash
Using
chezmoi init --verbose https://git.dotcircle.dev/stijn/dotfiles.git
#or
chezmoi init --verbose git@git.dotcircle.dev:stijn/dotfiles.git
A chezmoi configuration file will be automatically generated in
'~/.config/chezmoi/chezmoi.toml'
Make sure that the settings make sense before applying the dotfiles
To apply (install) the dotfiles, run
chezmoi apply
Various Installation scripts
Additional script for setting up applications, or dev toolchains will be copied
into ~/bin/setup/
. Make sure you run the scripts with the -h
first to get
some more information before running them, or read the source code to check
what they do.
They are intended for automatic setups, and they will run non-interactively once
started.
Testing
You can run shellcheck on all of the bash scripts (except templated ones) by running
./setup.sh -t
Fixing issues
- bash: have: command not found
most likely this comes from one of the completion scripts in
/etc/bash_completion.d/
.
You can find out which ones by running
grep -R "^ *have" /etc/bash_completion.d/ | cut -d ':' -f 1 | sort | uniq
or automaticaly delete them by running
grep -R "^ \*have" /etc/bash_completion.d/ | cut -d ':' -f 1 | sort | uniq | xargs -i sudo rm {}
Thanks
Thanks to Tom Payne (@twpayne)
for creating chezmoi.
The documentation for chezmoi can be found on https://www.chezmoi.io.
Inspiration from the following repositories: