Skip to content

burgerdev/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

collection of dear dotfiles

Installation

If you have a local clone of this repo, just run

bash install.sh

If you want to execute without checking out, you can do that by setting two environment variables to the shell executing install.sh:

  • DOTFILES_LOCATION
    • where to look for the dotfiles base dir
    • will be used as "${DOTFILES_LOCATION}/relative/path" by DOTFILES_FETCH
    • defaults to dirname "${BASH_SOURCE[0]}"
    • alternative for remote setup: https://raw.githubusercontent.com/burgerdev/dotfiles/master
  • DOTFILES_FETCH
    • a command that takes a location (as defined above) and prints its content to stdout
    • defaults to cat
    • alternative for remote setup: DOTFILES=(curl -Ls)
    • will be evaluated as "${DOTFILES_FETCH[@]}" "${DOTFILES_LOCATION}/relative/path", so you can provide a command with curried arguments, such as DOTFILES=(curl -Ls -u "admin:pass containing whitespace")
  • DOTFILES_REMOTE
    • this meta-option will set the former two env vars to their suggested alternatives for remote setup
    • full example
      curl https://raw.githubusercontent.com/burgerdev/dotfiles/master/install.sh | \
        env DOTFILES_REMOTE=true bash

About

collection of dear dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published