These are my dotfiles. Please feel free to check them out and see if anything can be adopted for your own.
Clone the repo:
git clone --recurse-submodules https://github.com/l50/dotfiles.git
-
git clone https://github.com/asdf-vm/asdf.git ~/.asdf
-
Install and use asdf plugins to manage go and python for this project:
source .asdf
Alternatively, you can pick and choose which plugins to install:
# Employ asdf for this project's python: source .asdf python
-
python3 -m pip install --upgrade pip python3 -m pip install pre-commit
-
go install github.com/magefile/mage@latest
sudo apt-get update
sudo apt-get install -y curl expect jq xclip zsh
# Fix permissions to avoid annoying message
sudo chmod -R 755 /usr/share/zsh
sudo chmod -R 755 /usr/share/zsh/vendor-completions
# If you need to change your shell manually, run this command:
sudo chsh -s /bin/zsh
curl -sS https://webi.sh/shfmt | sh
npm install -g bats
# Install homebrew
brew install bats-core cask shfmt
bash -c "$(curl -fsSL \
https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
go install github.com/dolmen-go/goeval@latest
bash install_dot_files.sh
Create ~/.gitconfig.userparams
with the following:
[user]
name = Jayson Grace
email = jayson.e.grace@gmail.com
username = l50
act -P --container-architecture linux/amd64
# If it's necessary to test macOS specifically:
act -P macos-latest=-self-hosted
bash .hooks/run-bats-tests.sh
git submodule update --init --recursive