My ZSH Config
powerlevel10k@f2bf019758 | ||
pure@c42bd35494 | ||
zsh-autosuggestions@ae315ded4d | ||
zsh-syntax-highlighting@6fd92e1bbd | ||
.gitmodules | ||
aliasrc | ||
README.md | ||
zshrc | ||
zshrc.pure |
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 ZSHzsh-autosuggestions
- Suggestions based on your historypowerlevel10k
theme - The the actual themepure
- Pure shell look for zsh
Get this from your distribution's repository
- Consider security here - autojump is ok on local machine, but I wouldn't recommend deploying it on server due to some security concerns
autojump
- Jump to directories with j or jc for child or jo to open in file manager zsh
- the shell itself
Recomended for powerlevel10k
nerd-fonts
- I recomendMesloLGS NF Regular
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
- 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