Skip to content

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

By Evan Wiegers Screen Shot 2020-08-15 at 10 08 12 PM

Downloads

  1. zsh and affiliated resources
  • i. zsh itself - brew install zsh
  • ii. oh my zsh - sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
  • iii. powerlevel9k - git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k
  • iv. zsh plugins
    • i. autosuggestions - git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
    • ii. syntax highlighting - git clone https://github.com/zsh-users/zsh-syntax-highlighting ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
    • iii. completions - git clone https://github.com/zsh-users/zsh-completions ~/.oh-my-zsh/custom/plugins/zsh-completions
  1. iTerm2 - Download
  2. Nerd Fonts (Patched Fonts) - Download or use brew tap homebrew/cask-fonts; brew search nerd; brew cask install robotomono-complete-nerd-font
  3. Visual Studio Code - Download
  4. Eslint and Prettier - Download via Visual Studio Code Extensions

Tutorial

  1. Clone repo git clone https://github.com/Danixar/dotfiles.git

For zsh and git

  1. Download parts 1 to 3 of the above resources
  2. Set iTerm2 font/non-ascii-font (RobotoMono Nerd Font), colour preset (Dark Background), and keyboard preset (natural text editing)
  3. Configure dotfiles by creating .zshrc and .profile in $HOME and add source commands to them to run their respective dotfiles from this git repository:
  • ~/.zshrc source ~/path/to/dotfiles/.zshrc
  • ~/.profile source ~/path/to/dotfiles/.profile
  • ~ git --config include.path '~/path/to/dotfiles/.gitconfig'
  1. Create files ~/secrets.sh or ~/dotfiles/.secrets.sh to include all secrets

For eslint and prettier

  1. Download parts 4 and 5 of the above resources
  2. Within a node project, apply the following commands:
npm i -D eslint prettier eslint-plugin-prettier eslint-config-prettier eslint-plugin-node eslint-config-node
npx install-peerdeps --dev eslint-config-airbnb
  1. Copy .eslintrc.json and .prettierrc to the project via:
cp ~/path/to/dotfiles/.eslintrc.json ~/path/to/project/.eslintrc.json 
cp ~/path/to/dotfiles/.prettierc ~/path/to/project/.prettierrc

Links

  1. zsh
  2. Oh my zsh
  3. Nerd Fonts
  4. Powerlevel9k
  5. Visual Studio Code
  6. Eslint
  7. Prettier

About

zsh setup in iTerm2, git config, eslint, prettier

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages