/Configs

My personal configuration

Primary LanguageShell

Config files (aka dotfiles)

Installation

💡 Install WSL2 when running Windows 10. You can find a guide here. Also, install the Windows Terminal that you can download from the Microsoft Store.

1. Install Zsh

Use the following instructions.

2. Install Oh My Zsh!

You can access the installation guide here.

sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

3. Install Powerlevel10k

Use the following command:

git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k

Then you need to enable it, change the value of ZSH_THEME to following in the ~/.zshrc file:

ZSH_THEME="powerlevel10k/powerlevel10k"

Configuration

1. Download FiraCode NF font

You can get the font from here.

On Windows use this one.

2. Configure Powerlevel10k

Type the command below and choose you style options:

p10k configure

3. Install plugins

1. Clone zsh-syntax-highlighting

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

2. Clone zsh-autosuggestions

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

3. Install exa

For an installation guide please head here.

When using Ubuntu version lower than 20.10, use the following commands:

wget http://archive.ubuntu.com/ubuntu/pool/universe/r/rust-exa/exa_0.9.0-4_amd64.deb
sudo apt-get install ./exa_0.9.0-4_amd64.deb

4. Add plugins to .zshrc

plugins=( git zsh-syntax-highlighting zsh-autosuggestions )

4. Copy configs

Copy all configs to your ~/ home directory.