My ZSH Config
git@b60e5e36c6 | ||
oh-my-zsh-dirhistory | ||
powerlevel10k@f2bf019758 | ||
pure@c42bd35494 | ||
ssh-connect@788d90f761 | ||
web-search@e2c498dc9d | ||
zsh-autosuggestions@ae315ded4d | ||
zsh-syntax-highlighting@6fd92e1bbd | ||
zsh-you-should-use@773ae5f414 | ||
zsh-z@b5e61d03a4 | ||
.gitmodules | ||
aliasrc | ||
README.md | ||
zshrc | ||
zshrc.pure |
ZSH
My ZSH config
Setup
- Clone the repository to your home folder
cd ~
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-z
- ZSH plugin that is alternative toautojump
. Usez dirname
to go to a specific directory on your system without having to type the whole path (egz et
will get you to/etc
)dirhistory
- Plugin from oh my zsh that allows you to easily go through history of directories (due to this not being a repository I have to update this plugin manually. If it's out of date, please create an issue)ssh-connect
- Plugin that logs yourssh
commands and provides a nice menu with your recent connections (alias:sshc
)web-search
- Allows you to DuckDuckGo, Google, etc. directly from your zsh. just runddg
orgoogle
zsh-you-should-use
- Usefull plugin that suggest existing aliases for a command you just ran (try it out withls -l
)zsh-autosuggestions
- Suggestions based on your historygit
- Usefull git aliaseszsh-syntax-highlighting
- Syntax highlighting for ZSHpowerlevel10k
theme - The the actual themepure
- Pure shell look for zsh
Recomended for powerlevel10k
nerd-fonts
- I recomendMesloLGS NF Regular
- On Arch you can use
ttf-meslo-nerd-font-powerlevel10k
so you don't have to donwload the whole git repository
- On Arch you can use
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
- Input your password
- Input
/bin/zsh
Modifying /etc/passwd
- Change your user in
/etc/passwd
to/bin/zsh
instead of/bin/bash
-
Find line containing your username
-
Change the end of the line From: ...
:/bin/bash
To: ...
:/bin/zsh