module Dotrepo::FileExporter
Overview
Exports files from the dotfiles repository to user's home directory.
Extended Modules
Defined in:
file_exporter.crConstant Summary
-
LOGGER =
Log.for("Dotrepo::FileExporter")
Instance Method Summary
- #dotfile_export_path(relative_dotfile_path : Path)
- #expand_dotfile_path(relative_dotfile_path : Path)
- #export(relative_dotfile_path : String)
- #export(relative_dotfile_path : Path)
Instance Method Detail
def 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.
def 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.