/dotfiles

My dotfiles and some scripts to bootstrap new workstations

Primary LanguageShell

Dotfiles

What's included

The install script

The install script supports macOS, Linux (Ubuntu) and Android (Termux) and will install my custom dotfiles but also some extra packages and fonts, you can select what to install by passing an argument to the install script:

./install all # to bootstrap a new workstation
./install dotfiles # will install the dotfiles only (.vimrc .bashrc etc...)
./install fonts # will install some powerline patched fonts
./install vimplugins # will install the vim plugins from the vimrc
./install atompackages # will install the atom plugins and configuration
./install packages # will install the packages listed in files/pkgs/apt.lst (or brew.lst and cask.lst if running on macOS)
./install i3 # will install and configure i3

To install on android use:

termux-fix-shebang install.sh; ./install.sh

NOTE: Before running the install script you should take a look at the config.sh file and edit it to your preferences

The backup script

The backup script can backup and restore your:

  • List of deb repos
  • Installed packages
  • Atom packages
  • Dotfiles

Usage examples:

./backup.sh dotfiles # Will backup your dotfiles, the ones managed by the install.sh script
./backup.sh atom # Will backup your atom configuration files and installed package list
./backup.sh repos # Will backup your deb package repos

For more information check out the other README files and the code

.
├── README.md
└── files
    ├── bash
    │   └── README.md
    ├── hammerspoon
    │   └── README.md
    └── i3
        └── README.md