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.
zsh/README.md

71 lines
1.7 KiB
Markdown
Raw Normal View History

2020-06-07 16:09:57 +02:00
# ZSH
My ZSH config
2020-02-12 17:40:45 -06:00
## 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
```
2020-10-09 21:50:55 +02:00
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
```
2020-06-07 16:09:57 +02:00
## Get Dependancies
2020-08-31 08:44:29 -05:00
### 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
2020-08-19 12:34:12 -05:00
2020-06-08 18:58:46 +02:00
### Get this from your distribution's repository
### Debian Dependencies
```bash
sudo apt install autojump zsh
```
2020-08-19 12:34:12 -05:00
### Arch Dependencies
```bash
yay -S autojump zsh
```
2020-08-19 12:34:12 -05:00
### Recomended for `powerlevel10k`
- [`nerd-fonts`](https://github.com/ryanoasis/nerd-fonts "nerd-fonts github page") - I recomend `MesloLGS NF Regular`
2020-06-07 16:09:57 +02:00
## 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:
2020-10-09 21:07:54 +02:00
#### Running this command:
```chsch $USER```
2020-10-09 21:07:54 +02:00
#### Modifying `/etc/passwd`
* Change your user in /etc/passwd to /bin/zsh instead of /bin/bash
<details>
2020-10-09 21:07:25 +02:00
* 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`
</details>
2020-06-07 16:09:57 +02:00
## What I used
My config is based on Chris Titus's config, `powerlevel10k` theme and `pure`