My ZSH Config
This repository has been archived on 2024-11-06. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2021-11-14 19:08:45 +01:00
powerlevel10k@f2bf019758 Moving from pure zsh to powerlevel10k 2020-10-09 20:30:40 +02:00
pure@c42bd35494 fix directory structure 2020-06-01 11:30:25 -05:00
zsh-autosuggestions@ae315ded4d Added zsh-autosuggestions as git submodule 2020-06-08 18:40:50 +02:00
zsh-syntax-highlighting@6fd92e1bbd Added zsh-syntax-highlighting 2020-06-08 18:50:03 +02:00
.gitmodules Merge branch 'master' of https://github.com/ChrisTitusTech/zsh into ChrisTitusTech-master 2021-11-14 19:08:23 +01:00
aliasrc Merge branch 'master' of https://github.com/ChrisTitusTech/zsh into ChrisTitusTech-master 2021-11-14 19:08:23 +01:00
README.md Merge branch 'master' of https://github.com/ChrisTitusTech/zsh into ChrisTitusTech-master 2021-11-14 19:08:23 +01:00
zshrc Update 2021 2021-03-19 20:08:16 +01:00
zshrc.pure Merge branch 'master' of https://github.com/ChrisTitusTech/zsh into ChrisTitusTech-master 2021-11-14 19:08:23 +01:00

ZSH

My ZSH config

Setup

  • Clone the repository to your home folder
git clone --recursive https://github.com/jiriks74/zsh

powerlevel10k theme

  • Link the zsh file to your home folder as .zshrc
ln -s ~/zsh/zshrc ~/.zshrc
  • Set the powerlevel10k theme the way you like it
zsh
  • If configuration won't start automatically, just run
p10k config

pure shell theme

  • Link the zsh.pure file to your home folder as .zshrc
ln -s ~/zsh/zshrc.pure ~/.zsh

Get Dependancies

Included in this repository

  • zsh-syntax-highlighting - syntax highlighting for ZSH
  • zsh-autosuggestions - Suggestions based on your history
  • powerlevel10k theme - The the actual theme
  • pure - Pure shell look for zsh

Get this from your distribution's repository

Debian Dependencies

```bash
sudo apt install autojump zsh
```

Arch Dependencies

```bash
yay -S autojump zsh
```

Recomended for powerlevel10k

Set as default

To set zsh as default shell for your user, edit /etc/passwd (from /bin/bash to /bin/zsh)

There are two ways:

Running this command:

chsch $USER

Modifying /etc/passwd

  • Change your user in /etc/passwd to /bin/zsh instead of /bin/bash
  • Find line containing your username
  • Put your username instead of user

From: user:x:1000:1000::/home/user:/bin/bash

To: user:x:1000:1000::/home/user:/bin/zsh

What I used

My config is based on Chris Titus's config, powerlevel10k theme and pure