/dotfiles

Helpful dotfiles backup

Primary LanguageShellMIT LicenseMIT

Using these dotfiles

ZSH

  1. Install ZSH and Oh My Zsh
  2. Replace your existing ~/.zshrc file with the one from this repository or just copy certain settings
  3. Install custom plugins Download and copy these plugins to ~/.oh-my-zsh/custom/plugins/ folder
    1. nvm-auto
    2. zsh-256color
    3. zsh-completions
    4. zsh-syntax-highlighting

Custom features

  1. Visual studio code launcher Usage:
    1. code . open current folder in VS Code
    2. code <PATH_TO_FILE> open specific file in VS Code
  2. cheatsh shortcut Usage:
    1. cheatsh ruby/Array
    2. cheatsh ruby/Hash
  3. historyfind, find any command usage in entire ZSH history Usage: hf ssh
  4. Quick aliases
    1. Update pre-defined aliases to your own folder structure
    2. Then simply type alias in terminal to perform that action
  5. Lazy Git, a custom Git GUI for terminal
    1. Install via homebrew brew install lazygit
    2. Alias is already defined, so just type lg in clio project folder
  6. Delete all Git branches locally except master and develop
    1. delete_git_branches
    2. Verify: git branches

Custom ZSH theme

  1. Copy the oh-my-zsh/custom/themes/indigo.zsh-theme file to ~/.oh-my-zsh/custom/themes/ folder
  2. Update ~/.zshrc file to use this theme ZSH_THEME="indigo"

Help using ZSH features

  1. Oh My Zsh Cheatsheet

TODO

  1. Place all significant dotfiles in this repository
  2. Write a script to auto deploy them on local machine