A collection of git, and bash utilities, prompts, etc. Opinionated but simple and hackable.
You can install it anywhere; in the instructions below just change ~/.dev_env to any directory you wish.
In home dir [cd ~] or Directory of your choosing:
git clone https://github.com/harlantwood/dev_env.git .dev_env
# or:
git clone [email protected]:harlantwood/dev_env.git .dev_env
From your ~/.dev_env directory, Run the setup_new_mac.sh:
bash setup_new_mac.sh
Copy the following into your ~/.zshrc (or ~/.bash_profile or similar):
. ~/.dev_env/shell_ext_mac_zsh.sh
To set up .gitconfig
and .gitignore
:
cd ~
ln -s .dev_env/.gitconfig
ln -s .dev_env/.gitignore
To set up vscode settings:
cd ~/Library/Application\ Support/Code/User
ln -sf ~/.dev_env/vscode/home-lib-app-sup-code-user/settings.json
ln -sf ~/.dev_env/vscode/home-lib-app-sup-code-user/keybindings.json
To back up vscode extensions:
cd ~/.dev_env
code --list-extensions >> vscode/extensions.txt
And to reinstall them elsewhere:
cat vscode/extensions.txt | xargs -n 1 code --install-extension
To set up IntelliJ keymap:
cd ~/Library/Preferences/IntelliJIdea[VERSION]/keymaps
ln -s ~/.dev_env/keymap_idea_osx_custom.xml