dotfiles

package
v0.0.38 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultModularDotfiles = []string{
	".zshrc",
	".profile",
	".aliases",
	".gitconfig",
	".tmux.conf",
	".vimrc",
	".ideavimrc",
	".bashrc",
	".git-shellrc",
	".node-shellrc",
	".go-shellrc",
}

DefaultModularDotfiles lists the dotfiles that, if present in the dotfiles repo, are expected to be symlinked into $HOME by the install script. Entries not present in the repo are silently skipped — this list is forward-looking and will grow as the dotfiles repo adds modules.

Functions

This section is empty.

Types

type DotfilesSetup added in v0.0.11

type DotfilesSetup struct {
	RepoURL       string
	LocalPath     string
	InstallScript string
	// ModularFiles are the dotfiles expected to be symlinked from LocalPath
	// into $HOME. Defaults to DefaultModularDotfiles; override in tests.
	ModularFiles []string
}

func NewDotfilesSetup added in v0.0.11

func NewDotfilesSetup(repoURL, localPath, installScript string) *DotfilesSetup

func (DotfilesSetup) Install added in v0.0.11

func (d DotfilesSetup) Install() (*bytes.Buffer, error)

func (DotfilesSetup) Name added in v0.0.11

func (d DotfilesSetup) Name() string

func (DotfilesSetup) Uninstall added in v0.0.11

func (d DotfilesSetup) Uninstall() (*bytes.Buffer, error)

func (DotfilesSetup) Validate added in v0.0.11

func (d DotfilesSetup) Validate() (out *bytes.Buffer, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL