Skip to content

Latest commit

 

History

History
89 lines (60 loc) · 2.71 KB

README.md

File metadata and controls

89 lines (60 loc) · 2.71 KB

Gonzalo Stoll's dotfiles

Dotfiles screenshot

These are my dotfiles. They are not meant to be used as is, but feel free to take whatever you want from them.

Installation

You can install these dotfiles in two ways:

With cURL (recommended)

Execute the following command:

bash -c "$(curl -fsSL raw.github.com/gonstoll/dotfiles/master/.config/bin/dotfiles)"

Cloning the repository

Clone the repository and execute the dotfiles script:

git clone https://github.com/gonstoll/dotfiles.git ~/.dotfiles
chmod +x ~/.dotfiles/.config/bin/dotfiles && ~/.dotfiles/config/bin/dotfiles

What does the installation script do?

The script will guide you through the installation process. It will attempt to install homebrew, git, sync its git submodules and link its packages by using GNU Stow.

It also supports having your own intial script that you wish to run after the dotfiles are installed. You can do this by having a init_script file in you $HOME directory. This file will be executed after the dotfiles are installed. This is useful for setting up some environment variables or installing some packages that are not included in the dotfiles.

You can customize its installation by setting some flags:

No custom .zshrc path

This script changes the default path of the .zshrc file to $HOME/.config/zsh/.zshrc. You can opt-out of this by setting the no-custom-zshrc-path

# First time installing:
bash -c "$(curl -fsSL raw.github.com/gonstoll/dotfiles/master/.config/bin/dotfiles) -- --no-custom-zshrc-path"

# ...or after installation:
dotfiles --no-custom-zshrc-path

No homebrew and runtime packages

This script installs all homebrew and runtime (npm, bun, cargo, etc.) packages. You can opt-out of this by setting the --no-packages flag:

# First time installing:
bash -c "$(curl -fsSL raw.github.com/gonstoll/dotfiles/master/.config/bin/dotfiles) -- --no-packages"

# ...or after installation:
dotfiles --no-packages

No git syncronization

Git syncronization checks for updates in the dotfiles repository and installs its submodules. You can opt-out of this by setting the --no-sync flag:

# First time installing:
bash -c "$(curl -fsSL raw.github.com/gonstoll/dotfiles/master/.config/bin/dotfiles) -- --no-sync"

# ...or after installation:
dotfiles --no-sync

Acknowledgements

A lot of inspiration for the architecture of these dotfiles came from: