THIS REPOSITORY MOVED TO https://gitea.stefka.eu/jiriks74/zsh
cd ~/zsh
git remote set-url origin https://gitea.stefka.eu/jiriks74/zshMy ZSH config
If you want to make any customizations to your config without deleting them, or merging them, every time I update, here's the solution:
- Make a file called
custom-zshrcin your$HOME/zshdirectory - Put your customizations in that file
The file is in
.gitignore, so it won't interfere with the repository and you can pull updates without resolving differences between local files and the repository. It is also set to be sourced in thezshrcfile, so you really don't have to set up anything, just add the customizations.
- Clone the repository to your home folder
cd ~
git clone --recursive https://github.com/jiriks74/zsh- Link the
zshfile to your home folder as.zshrc
ln -s ~/zsh/zshrc ~/.zshrc- Set the
powerlevel10ktheme the way you like it
zsh- If configuration won't start automatically, just run
p10k config- Set
zshas your default shell
chsch $USER- Input your password
- Input
/bin/zsh
- Change your user in
/etc/passwdto/bin/zshinstead of/bin/bash
- Find line containing your username
- Change the end of the line
From: ...:/bin/bash
To: ...:/bin/zsh
cd ~/zsh
git pull --recurse-submodules
git submodule update --init --recursive- If you get
fatal: refusing to merge unrelated historiesyou have changes in~zshthat are not in the repository - If you have backed up your customizations (if you have any) this will delete
all differences between
~/zshand the repository
cd ~/zsh
git fetch
git reset --hard origin/masterzsh-z- ZSH plugin that is alternative toautojump. Usez dirnameto go to a specific directory on your system without having to type the whole path (egz etwill 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 yoursshcommands and provides a nice menu with your recent connections (alias:sshc)web-search- Allows you to DuckDuckGo, Google, etc. directly from your zsh. just runddgorgooglezsh-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 ZSHpowerlevel10ktheme - The the actual theme
thefuck- Corrects errors in previous console commands (when you mess up a command, typefuck)
nerd-fonts- I recomendMesloLGS NF Regular- On Arch you can use
ttf-meslo-nerd-font-powerlevel10kso you don't have to donwload the whole git repository¨¨
- On Arch you can use