Giter VIP home page Giter VIP logo

dotfiles's Introduction

Dotfiles

Create and add an SSH key to Github

  1. Run: ssh-keygen -t ed25519 -C "<email>"
  2. Copy the public key: cat ~/.ssh/id_ed25519.pub
  3. Add it to Github: https://github.com/settings/keys

Setup

1. Homebrew / Linuxbrew

Source: https://brew.sh/

  • Run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

2. Stow

  1. Install stow: brew install stow
  2. Clone the dotfiles: git clone [email protected]:JulienLavocat/dotfiles.git
  3. Setup the dotfiles (must be ran inside the dotfiles directory): stow . -v

3. Zsh / Oh-My-Zsh / Powerlevel10k

Source: https://gist.github.com/n1snt/454b879b8f0b7995740ae04c5fb5b7df

  1. Install Zsh and set it as default shell for the user: brew install zsh && command -v zsh | sudo tee -a /etc/shells && chsh -s $(which zsh)
  2. Logout and log back in
  3. Install Oh-My-Zsh: sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" && rm .zshrc && mv .zshrc.pre-oh-my-zsh .zshrc
  4. Install zsh-autosuggestions: git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
  5. Install zsh-syntax-highlighting: git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
  6. Install fast-syntax-highlighting: git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/fast-syntax-highlighting
  7. Install Powerlevel10k: git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k

4. Install Alacritty

Version >=0.13 is required and can be hard to find, snap has an updated version => https://snapcraft.io/alacritty

  • Run: snap install alacritty --classic

5. Zoxide

  • Run: brew install zoxide

6. Tmux

  • Run: brew install tmux

5. Install Neovim

  • Install Neovim and it's required dependencies: brew install lazygit neovim ripgrep fzf gcc volta

6. End steps

  1. Logout from the user and log back in
  2. Run Alacritty

dotfiles's People

Contributors

julienlavocat avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.