Skip to content

iamyounix/myzshconf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 

Repository files navigation

myzshelconf

OS Check Information

Table of content:

Introduction

The Z shell (also known as zsh) is a Unix shell that is built on top of bash (the default shell for macOS) with additional features. It's recommended to use zsh over bash. It's also highly recommended to install a framework with zsh as it makes dealing with configuration, plugins and themes a lot nicer.

Installation

Here, we will start z shell installation.

Mac

  • Most mac already have this feature, zsh will be default after Oh My Zsh installation.

Linux

  • To check, use this command echo $0. If the output is bash, proceed installation with command below:

    Ubuntu

    sudo apt install zsh

    Fedora

    sudo dnf install zsh

    Arch

    sudo pacman -S zsh
  1. Check zsh version

    zsh --version
  2. This feature require modified fonts, . NerdFonts need to be installed. Since there was too many font available online, you may download here:

  3. After install, terminal need to be restart.

Oh My ZSH

  1. To begin installing omz, copy and paste the code below to any terminal. Please follow the required (pre & post-process) step and make sure your terminal uses zsh by default.

    sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Plugins Installation

  1. Install zsh-autosuggestions

    git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
  2. Install zsh-syntax-highlighting

    git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
  3. Install zsh-autocomplete

    git clone https://github.com/marlonrichert/zsh-autocomplete.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autocomplete

Configuration

  1. Open terminal, open zshrc configuration file and start configure basic needs.

    sudo nano ~/.zshrc
  2. Find ZHS_THEME="robbyrussel" to ZHS_THEME="your_theme". Checkout this wiki and choose.

  3. Find plugins=(git) section on the same documents. Add this comment after git,

    • i.e. git zsh-autosuggestions zsh-syntax-highlighting zsh-autocomplete
  4. Change chosen nerdfonts to your terminal.

Acknowledgement

arch aur | oh my zsh

Releases

No releases published

Packages

 
 
 

Languages