Skip to content

dawilliams/dotfiles

Repository files navigation

dotfiles

Inital Setup

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
  • Clone the dawilliams/dotfiles repo to your home directory
cd ~
git clone --recursive https://github.com/dawilliams/dotfiles
  • Run the install.sh script
cd ~/dotfiles
chmod +x install.sh
./install.sh
  • Run the sync.sh script
cd ~/dotfiles
chmod +x sync.sh
./sync.sh

What's installed

Homebrew

Curl

Devbox Global

Git Submodule

softwareupdate CLI Command

  • rosetta NOTE: I'm not sure I need this.

Notes

FAQs

devbox

Q: How do I search for a Devbox package?
A: Type the following or search on Nixhub

devbox search {package}

Q: How do I add a Devbox package to every environment on the machine? i.e. globally
A: Type following where the @{version} is optional but recommended.

devbox global add {package}@{version}

Q: How do I create a new devbox local environment?
A: Type the following in the directory you want to create the environment.

devbox init

Q: How do I add a Devbox package to a local environment?
A: Type following where the @{version} is optional but recommended.

devbox add {package}@{version}

github

Q: How do I update a local git submodule with remote changes?
A: Type the following command in the repository directory

git submodule update --remote --merge

zsh

Q: How do I list defined functions?
A: Type the following in a terminal

print -l ${(ok)functions}

Q: How do I show a function body?
A: Type the following in a terminal

functions {FUNCTION_NAME}

About

Here we go again

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published