Skip to content

gonzs/dot-files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Development Environment Setup

Guide(Checklist) to configure work environment for MacOS.

Table of Contents

Compatibility with Apple Silicon

Install Rosetta 2

/usr/sbin/softwareupdate --install-rosetta --agree-to-license

Install Applications with Homebrew

This script includes installation of HomeBrew, tools and applications. More packages can be added using HomeBrew Formulae as reference.

Customization of the Terminal

1. Install Oh My ZSH

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

2. Install Theme

Choose one.

git clone --depth=1 [https://github.com/romkatv/powerlevel10k.git](https://github.com/romkatv/powerlevel10k.git) ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k

Set ZSH_THEME="powerlevel10k/powerlevel10k"in ~/.zshrc.

Install Powerline Fonts (optional)

git clone https://github.com/powerline/fonts.git --depth=1 &&
cd fonts &&
./install.sh &&
cd ..
rm -rf fonts
git clone [https://github.com/spaceship-prompt/spaceship-prompt.git](https://github.com/spaceship-prompt/spaceship-prompt.git) "$ZSH_CUSTOM/themes/spaceship-prompt" --depth=1
ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme”

Set ZSH_THEME="spaceship"in your .zshrc.

3. Install Custom Plugins

Clone the plugin repository to /plugins/ folder and enable the plugin by adding the entry to .zshrc file.

git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

NVM

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash

Add the following lines to .zshrc file:

export NVM_DIR="$HOME/.nvm"
#This loads nvm
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
#This loads nvm bash_completion
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"

Git and Github

Git configuration

git config --global user.name < USERNAME > &&
git config --global user.email < EMAIL > &&
git config --global --list

Add Git Alias

Replace ~/.gitconfig file with this one.

Generate SSH key

Generating a new SSH key and adding it to the ssh-agent - GitHub Docs

VS Code

Sync with github account and install font FiraCode. Or use settings.json file.

NPM Registry

To managing multiple profiles with different registries, use npmrc package.

npm i npmrc -g
npmrc -c [new-profile]
npmrc [new-profile] 
npm config set registry [registry-url]
npmrc default

AWS credentials

Install AWS-CLI following this guide. Check ~/.aws* files

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages