User Configuration Management
To keep my home orgamized I use vcsh and myrepos.
Setup
On a new system, install the requirements.
aursync --update --temp --chroot myrepos vcshClone an existing myrepos configuration from a users $HOME.
vcsh clone [email protected]:johnramsden/mr.gitTo clone a branch:
Clone an existing myrepos configuration from a users $HOME.
vcsh clone -b branch [email protected]:johnramsden/mr.gitOr the vcsh template for a new setup.
vcsh clone [email protected]:RichiH/vcsh_mr_template.git mrIt tracks the myrepos config.
cat ~/.mrconfig[DEFAULT]
git_gc = git gc "$@"
jobs = 5
include = cat ~/.config/mr/config.d/*and myrepos template config.
The templates are stored in $HOME/.config/mr/available.d and can be changed to point to your own myrepos config.
Usage
After adding a config for all your repos in ~/.config/mr/available.d/, symlink the ones you want enabled to ~/.config/mr/config.d/.
To enable the mr config.
Now, run mr up to clone the specified repos.
Setup SSH
To start ssh-agent with a systemd unit create ~/.config/systemd/user/ssh-agent.service.
Add SSH_AUTH_SOCK DEFAULT="${XDG_RUNTIME_DIR}/ssh-agent.socket" to ~/.pam_environment
Start and enable.
chezmoi
cd ~/.local/share git clone --config transfer.fsckobjects=false --config receive.fsckobjects=false --config fetch.fsckobjects=false git://github.com/robbyrussell/oh-my-zsh.git 'oh-my-zsh'
cd ~/.config/oh-my-zsh/custom/plugins git clone '[email protected]:zsh-users/zsh-autosuggestions.git' 'zsh-autosuggestions'
Last updated