Skip to content

Latest commit

 

History

History
97 lines (62 loc) · 1.71 KB

README.md

File metadata and controls

97 lines (62 loc) · 1.71 KB

💥 Ndachj's zsh config

Screenshot 01

🛠 Quick Guide

📦 Prerequisites

  • zsh

  • git

  • fzf

  • fd

    sudo apt install zsh git fzf fd

⚡ Setup

  • Backup your .zshrc, if any:

    mv -v ~/.zshrc ~/.zshrc.bak
  • Clone the repository to your local machine:

    git clone --depth=1 https://github.com/ndachj/dotf; cd dotf
  • Copy the .config/zsh directory to ~/.config:

    export ZDOTDIR="$HOME/.config/zsh"
    mkdir -p $ZDOTDIR
    cp -rv .config/zsh ~/.config
  • Symlink .profile to ~/.zprofile:

    ln -sf "$ZDOTDIR/.profile" ~/.zprofile
  • Change the default login shell:

    sudo chsh ${USER} -s /bin/zsh
  • Now logout and login back for changes to take effect.

⌨️ Hacking

🌐 plugins

📂 File Structure

~/.config/zsh
  ├── .p10k.zsh
  ├── .profile
  └── .zshrc

💤 Uninstall

To uninstall Ndachj's zsh config
  • Remove the $ZDOTDIR and .zprofile:

    rm -rfv "$ZDOTDIR" ~/.zprofile
  • Then restore your original .zshrc:

    mv ~/.zshrc.bak ~/.zshrc

🌟 See Also

Oh My Zsh - an open source, community-driven Zsh framework.