Skip to content

josepmdc/.dotfiles

Repository files navigation

dotfiles

Table of Contents
  1. How to set up
  2. Adding new files
  3. Dependencies

This dotfiles are based on Arch, but they will probably work on any Arch based distro, and most things on any distro.

Screenshots

Desktop

alt text

ZSH with the inertia theme

alt text

1. If you want to use this config

Clone the repo in your HOME directory:

git clone --bare https://github.com/josepmdc/dotfiles.git $HOME/.dotfiles

Define an alias so you can manage your dotfiles from any directory (NOTE: Notice this writes an alias to the .zshrc file, change it if you are using another shell):

echo "alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'" >> $HOME/.zshrc

Checkout the files in your HOME directory:

dotfiles checkout

Install Dependencies

2. If you want to manage your own

create a git bare repo:

git init --bare $HOME/.dotfiles

Define an alias so you can manage your dotfiles from any directory (NOTE: Notice this writes an alias to the .zshrc file, change it if you are using another shell):

echo "alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'" >> $HOME/.zshrc

Set git config to hide untracked files

dotfiles config --local status.showUntrackedFiles no

If you want to add new file you can just use

dotfiles add <file path>

and commit your changes with

dotfiles commit -m "Commit message"

To install dependencies run the bootstrap.sh script

./bootstrap.sh