The dotfiles plugin is the start point to create something similar to dotfiles project for xxh.
If you like the idea of xxh click ⭐ on the repo and stay tuned.
Fork this repository and put your files to the home
directory. The files will be copied to xxh home directory (default /home/user/.xxh/
) before running shell.
The XDG directory .config
will be copied to $XDG_CONFIG_HOME
(default /home/user/.xxh/.config
). Learn more about home settings in docs.
The plugin copy files only once during first start. It copies the files from plugin home directory to the host xxh home directory as addition and without replacing. It means if you hadn't the directory it will appear. If you have directory with files but without the file from plugin home it just appears.
Be carefully if you are using non-hermetic environment by using +hhh '~' +hhx '~'
arguments.
From xxh repo:
xxh +I xxh-plugin-prerun-dotfiles
# or from any Github repo: xxh +I https://github.com/xxh/xxh-plugin-prerun-dotfiles
Connect:
xxh yourhost +if
Add PyPi packages to pip-requirements.txt
and they will be in $XXH_HOME/.local
.
This is compatible with xxh-shell-xonsh, xxh-plugin-prerun-python and pip install --user
.