SOURCE_PROFILE and SOURCE_BASHRC are used to enable sourcing of .bashrc and .profile. This is due to an alternative way to source .sshrc from .bashrc, an infinite loop must be avoided if using 's' alias with sourcing .sshrc. |
||
|---|---|---|
| bin | ||
| .chezmoi.toml.tmpl | ||
| dot_bashrc_linux | ||
| dot_gitconfig.tmpl | ||
| dot_solarize_colors | ||
| dot_solarize_colors_base | ||
| dot_sshrc | ||
| dot_sshrc.tmpl | ||
| README.adoc | ||
Dotfiles managed with chezmoi
Initialization
TODO: how to handle a new linux system correctly.
Test with centos7-01:
-
put executable to HOME dir
-
add public ssh key to gitea user
-
initialize with
./chezmoi init sdroid@gitea.sdroid.uber.space:heavy/dotfiles.git -
check what will happen with
./chezmoi diff -
apply it with
./chezmoi apply
After that a bin directory will exist (if not yet present before), move the executable to this dir to have it PATH.
AWS Systeme (Draft)
TODO: create user file for initialization at provisioning
-
install go
sudo yum install -y golang golang-bin -
install git
sudo yum install -y git-all -
install chezmoi from git repo (see below)
-
check GOPATH and adjust if necessary
-
initialize with
chezmoi init https://gitea.sdroid.uber.space/heavy/dotfiles.git(Use 'heavy' as user). -
check what will happen with
chezmoi diff -
TODO: vi .config/chezmoi/chezmoi.toml (Template is not correct)
-
apply it with
chezmoi apply
cd $(mktemp -d)
git clone --depth=1 https://github.com/twpayne/chezmoi.git
cd chezmoi
go install
New User
Better try modifications with a new user to keep the defaul user accessible to the system. See below links to proceed.