Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 1.52 KB

README.md

File metadata and controls

30 lines (25 loc) · 1.52 KB

The dotfiles plugin is the start point to create something similar to dotfiles project for xxh.

The home directory contains the files which 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.

Note!

The plugin copy files only once during first start. It copies the files from plugin home directory to the host xxh home direcotry 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.

Install

From xxh repo:

xxh +I xxh-plugin-prerun-dotfiles

From any repo:

xxh +I xxh-plugin-prerun-dotfiles+git+https://github.com/xxh/xxh-plugin-prerun-dotfiles

Connect:

xxh yourhost +if

Preinstall Python packages

Add python 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.