module

Dotrepo::FileExporter

Exports files from the dotfiles repository to user's home directory.

Constants

LOGGER = Log.for("Dotrepo::FileExporter")

Instance methods

dotfile_export_path(relative_dotfile_path : Path)
Source
expand_dotfile_path(relative_dotfile_path : Path)
Source
export(relative_dotfile_path : String)

Imports dotfile from the dotfiles repository.

For example Dotrepo::FileExporter.export_file(".config/fish/config.fish"]) creates a symlink at ~/.config/fish/config.fish to the corresponding file in the dotfiles repository.

Source
export(relative_dotfile_path : Path)

Imports dotfile from the dotfiles repository.

For example Dotrepo::FileExporter.export_file(Path[".config", "fish", "config.fish"]) creates a symlink at ~/.config/fish/config.fish to the corresponding file in the dotfiles repository.

Source