.files/README.md

1.4 KiB

ShokiNNs dotfiles

I manage my dotfiles using dotdrop.

How to install

Script

[[ ! $(command -v brew) ]] && /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" \
  ; brew update \
  && brew install coreutils libmagic uv fzf \
  && uv tool install --allow-python-downloads --python 3.11 dotdrop \
  && git clone https://github.com/shokinn/.files ~/.files \
  && echo "Enter profile name (leave empty for default): " \
  && read DOTDROP_PROFILE \
  && [[ -n ${DOTDROP_PROFILE} ]] && DOTDROP_PROFILE="-p ${DOTDROP_PROFILE}" || DOTDROP_PROFILE="" \
  && ~/.local/bin/dotdrop ${DOTDROP_PROFILE} --cfg=~/.files/config.yaml install \
  ; unset DOTDROP_PROFILE \
  && ${SHELL}

Manual

  1. Install Homebrew
  2. Install coreutils, libmagic and uv via Homebrew.
  3. Install drotdrop via uv (uv tool install --allow-python-downloads --python 3.11 dotdrop).
  4. Clone dotfiles, install dependencies for dotdrop and install dotfiles.
git clone https://github.com/shokinn/.files ~/.files \
&& ~/.local/bin/dotdrop --cfg=~/.files/config.yaml install

Documentation

Maybe you should take a look to my documentation to understand how I use my dotfiles. My documentation is currently quite outdated and should not be considered for help.