Skip to content

ssbanerje/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

326f853 · Feb 23, 2023
Oct 15, 2021
Oct 15, 2021
Feb 20, 2023
Feb 16, 2023
Sep 29, 2021
Sep 29, 2021
Feb 23, 2023
Oct 2, 2021
Aug 26, 2021
Oct 17, 2021
Feb 23, 2023
Oct 8, 2021
Sep 26, 2021
Feb 23, 2023
Sep 9, 2021
Feb 16, 2023
Oct 6, 2021
Aug 23, 2021
Oct 2, 2021
Oct 15, 2021
Aug 21, 2021
Oct 14, 2021
Oct 4, 2021
Oct 4, 2021
Aug 21, 2021
Oct 8, 2021
Sep 28, 2021
Sep 28, 2021

Repository files navigation

           __      __  _______ __
      ____/ /___  / /_/ ____(_) /__  _____
     / __  / __ \/ __/ /_  / / / _ \/ ___/
    / /_/ / /_/ / /_/ __/ / / /  __(__  )
    \__,_/\____/\__/_/   /_/_/\___/____/

Build

Container-based Installation

Use the packaged container to install dotfiles and all dependencies.

Run this:

git clone https://github.com/ssbanerje/dotfiles.git
./dotfiles/scripts/shim.sh <command>

Details

  • Script uses docker to run the container.
  • By default, the shim will use an Ubuntu container.
  • For an Archlinux container use scritps/shim.sh -archlinux <command>
  • Shim passes ssh-agent keys to container.
  • Shim mounts host's current working directory to /cwd.

Local Installation

Install the dotfiles and dependencies on the local machine.

Run this:

git clone --recurse-submodules https://github.com/ssbanerje/dotfiles.git
cd dotfiles
./install_profile <profile>

Details

  • Update configuration files for user.
    • meta/config/git.yaml
  • The installer script can load profiles located in meta/profiles/:
    • macos: For MacOS
    • ubuntu: For Ubuntu desktop
    • ubuntu-minimal: For text-based Ubuntu distributions
    • archlinux-minimal: For text-based Archlinux distributions
  • To install individual components (from meta/config/) use the install.sh script.
  • Once installed, the scripts/shim.sh script is accessible as the shim command.

Setup Development Environment

Install pre-commit hooks:

pip install pre-commit
pre-commit install