Skip to content

Bring your dotfiles to the host during ssh session and place it into hermetic xxh environment.

License

Notifications You must be signed in to change notification settings

tminich/xxh-plugin-prerun-dotfiles-conf

 
 

Repository files navigation

Modified version of the official xxh-plugin-prerun-dotfiles-plugin. Instead of relying on files stored in the repository it expects the home directory and pip-requirements.txt file to be in ~/.xxh/.xxh/config/xxh-plugin-prerun-dotfiles-conf.

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

Install

From xxh repo:

xxh +I xxh-plugin-prerun-dotfiles-conf
# or from any Github repo: xxh +I https://github.com/<user>/xxh-plugin-prerun-dotfiles-conf

Connect:

xxh yourhost +if

Preinstall PyPi packages

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.

About

Bring your dotfiles to the host during ssh session and place it into hermetic xxh environment.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Shell 100.0%