Skip to content

Personal dotfiles, because I'm tired to setup everything each time.

Notifications You must be signed in to change notification settings

SmartNetAR/dotfiles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

~dotfiles

iterm

⏰ Install steps in a new machine

Install Fundamental Apps

  1. Install Chrome, Visual Studio Code and iTerm.
  1. Install Purchased Apps from App Store.
  2. Install Downloaded Apps following ~/.dotfiles/apps.

Enable keystroke repeat

defaults write -g ApplePressAndHoldEnabled -bool false

Configure Brew

  1. Install brew /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)".
  2. Install brew packages from ~/.dotfiles/brew.

Change Apple Git to Brew Git

  1. sudo mv /usr/bin/git /usr/bin/git-apple
  2. brew update && brew upgrade
  3. brew install git

Configure Git

  1. Add the SSH Keys to the .ssh folder and update permissions chmod 400 id_rsa id_rsa.pub
  2. Add SSH key and add it to the agent ssh-add -K ~/.ssh/id_rsa.
  3. Set git name git config --global user.name "<My Name>".
  4. Set git email git config --global user.email <email>@<domain>.
  5. Clone dotfiles repository git@github.com:smartnetar/dotfiles.git .dotfiles.

Configure ZSH

  1. (Linux) Install sudo apt install zsh and make default zsh shell chsh -s $(which zsh)
  2. Install Oh My Zsh sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
  3. Install ZSH config from ~/.dotfiles/zsh

Configure Development Environment

  1. Install nvm curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash oficial git nvm install
  2. Install Active LTS and Current versions from https://nodejs.org/en/about/releases (using nvm install) eg. nvm install 18
  3. source ~/.bashrc
  4. command -v nvm
  5. Set default version nvm alias default 18
  6. Install npm packages from ~/.dotfiles/npm

Install pnpm

  1. curl -fsSL https://get.pnpm.io/install.sh | sh -

Configure Terminal

  1. Install Pure from npm install -g pure-prompt
  2. Set iTerm, terminal, vim config from ~/.dotfiles/iterm, ~/.dotfiles/terminal and ~/.dotfiles/vim

Configure Extra options

  1. Configure MacOs options from ~/.dotfiles/mac

⏳ Backup for the future

  1. Follow the instructions inside each folder
  2. Backup the .env files find ~/Code -name .env -not -path */node_modules/** in a USB.
  3. Backup the SSH Keys ./ssh in a USB.
  4. Commit latest changes in ~/.dotfiles and push them.

Symbolic Link Projects

ln -fs /Volumes/datos/projects ~/projects

About

Personal dotfiles, because I'm tired to setup everything each time.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 80.2%
  • Vim Script 19.8%