harlantwood / dev_env

A collection of bash and git utilities

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dev_env

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 git@github.com:harlantwood/dev_env.git .dev_env

10 minute batch install for common dependencies (Primarily using Brew)

From your ~/.dev_env directory, Run the setup_new_mac.sh:

bash setup_new_mac.sh

30 second install for bash extensions, git config, idea keymap

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

About

A collection of bash and git utilities

License:MIT License


Languages

Language:Shell 100.0%