Last active
June 7, 2022 14:18
-
-
Save ryanolsonx/b629a08154d748dd74e2a342335de463 to your computer and use it in GitHub Desktop.
Setup dev environment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
echo 'alias ls="ls -FA" | |
export EDITOR=vim | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" | |
export PATH="$PATH":"/usr/local/bin":"$HOME/bin"' > ~/.zshrc | |
echo 'set ai | |
set sts=2 | |
set sw=2 | |
set et | |
set bs=2 | |
set ar | |
set pa+=src/** | |
set dir=/tmp | |
set bdir=/tmp | |
command! Fmt execute ":silent !$(npm bin)/prettier --write %" | execute ":redraw!" | |
nn <silent> \ :Fmt<cr>' > ~/.vimrc | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
brew install git vim ripgrep | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash | |
git config --global user.name "Ryan Olson" | |
git config --global user.email [email protected] | |
git config --global core.autocrlf input |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment