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
Click to show internal directories.
Click to hide internal directories.