Added better and easier instructions, fixed some bad typing and gramar
This commit is contained in:
parent
bf67ef3b6b
commit
757a599763
1 changed files with 24 additions and 16 deletions
40
README.md
40
README.md
|
@ -3,30 +3,38 @@ My ZSH config
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
- Clone the repository to your home folder
|
- Clone the repository to your home folder
|
||||||
```
|
```git clone --recursive https://github.com/jiriks74/zsh```
|
||||||
git clone --recursive https://github.com/jiriks74/zsh
|
### `powerlevel10k` theme
|
||||||
```
|
- Link the `zsh` file to your home folder as `.zshrc`
|
||||||
- Link the zshrc file to your home foled (`powerlevel10k` theme)
|
```ln -s ~/zsh/zshrc ~/.zshrc```
|
||||||
`ln -s ~/zsh/zshrc ~/.zshrc`
|
- Set the `powerlevel10k` theme the way you like it
|
||||||
- Or link the zshrc file configured for pure
|
```p10k config```
|
||||||
`ln -s ~/zsh/zshrc.pure ~/.zsh`
|
### `pure` shell theme
|
||||||
|
- Link the `zsh.pure` file to your home folder as `.zshrc`
|
||||||
|
```ln -s ~/zsh/zshrc.pure ~/.zsh```
|
||||||
|
|
||||||
## Get Dependancies
|
## Get Dependancies
|
||||||
### Included in this repository
|
### Included in this repository
|
||||||
- zsh-syntax-highlighting - syntax highlighting for ZSH
|
- `zsh-syntax-highlighting` - syntax highlighting for ZSH
|
||||||
- zsh-autosuggestions - Suggestions based on your history
|
- `zsh-autosuggestions` - Suggestions based on your history
|
||||||
- pure - Pure shell look for zsh
|
- `powerlevel10k` theme - The the actual theme
|
||||||
|
- `pure` - Pure shell look for zsh
|
||||||
### Get this from your distribution's repository
|
### Get this from your distribution's repository
|
||||||
- autojump - Jump to directories with j or jc for child or jo to open in file manager
|
- `autojump` - Jump to directories with j or jc for child or jo to open in file manager
|
||||||
- zsh - the shell itself
|
- `zsh` - the shell itself
|
||||||
|
### Recomended for `powerlevel10k`
|
||||||
|
- `[nerd-fonts](https://github.com/ryanoasis/nerd-fonts "nerd-fonts github page") - I recomend `MesloLGS NF Regular`
|
||||||
|
|
||||||
## Set as default
|
## Set as default
|
||||||
To set zsh as default shell for your user, edit `/etc/passwd` (from `/bin/bash` to `/bin/zsh`)
|
To set zsh as default shell for your user, edit `/etc/passwd` (from `/bin/bash` to `/bin/zsh`)
|
||||||
|
### There are two ways:
|
||||||
### Exampe:
|
- Running this command:
|
||||||
- Put your username instead of `user`
|
```chsch $USER```
|
||||||
|
- Modifying `/etc/passwd`
|
||||||
|
..* Find line containing your username
|
||||||
|
..* Put your username instead of `user`
|
||||||
From: `user:x:1000:1000::/home/user:/bin/bash`
|
From: `user:x:1000:1000::/home/user:/bin/bash`
|
||||||
To: `user:x:1000:1000::/home/user:/bin/zsh`
|
To: `user:x:1000:1000::/home/user:/bin/zsh`
|
||||||
|
|
||||||
## What I used
|
## What I used
|
||||||
My config is based on Chris Titus's config, `powerlevel10k` theme - old config `pure shell`
|
My config is based on Chris Titus's config, `powerlevel10k` theme - old config `pure`
|
||||||
|
|
Reference in a new issue