Skip to content

marsom/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My dotfiles & software manager

Profile-based, os-aware dotfiles which allows to mix private and public dotfiles repositories.

Installation

Warning: If you want to give these dotfiles a try, you should first fork this repository, review the code, and remove things you don’t want or need. Don’t blindly use my settings unless you know what that entails. Use at your own risk!

Linux/macOS (optional):

export http_proxy=http://proxy:port
export http_proxy=http://proxy:port
export http_proxy=localhost

Windows (optional)

[Environment]::SetEnvironmentVariable("http_proxy", "http://proxy:port", "User")
[Environment]::SetEnvironmentVariable("https_proxy", "http://proxy:port", "User")
[Environment]::SetEnvironmentVariable("no_proxy", "localhost", "User")
[Environment]::SetEnvironmentVariable("ChocolateyInstall", "c:\\path\\to\\chocolatey", "User")
[Environment]::SetEnvironmentVariable("ChocolateyToolsLocation", "c:\\path\\to\\tools", "User")

If you do not have a git installation, please install brew, linuxbrew, Chocolatey and install git.

git based install

Checkout your/my public dotfiles repository.

git clone git://github.com/marsom/dotfiles ~/.dotfiles

Checkout your second dotfiles repository, i.e. your private repository.

git clone git://github.com/marsom/dotfiles ~/.dotfiles.0

Usage

Install the required binaries, i.e. golang, homebrew.

Linux/macOS

~/.dotfiles/bin/dofiles install

Windwos

Import-Module .\.dotfiles\bin\dotfiles.psm1
Install-DotfilesModules

Configure the files, i.e. create links.

Linux/macOS

~/.dotfiles/bin/dofiles update-profile

Windwos

Import-Module .\.dotfiles\bin\dotfiles.psm1
Update-DotfilesProfile

Uninstall

Never tested :-)

Inspired by