This ZSH config comes with :
- amazing shell history tool
- vi mode key binding ( i replace Esc to "jj" )
- auto suggestion in commands
- syntax highlighting
- bat instead of cat
- show shortcut command
- docker command helping
- saving last directory and start shell in that dir
- use lazy-git for term-ui git control
- use git cz for conventional commits with "gc" shortcut
run yazi with "f" and enter run lazy-git wit "lg" and enter
sudo dnf install zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
sudo dnf install bat
sudo dnf copr enable lihaohong/yazi
sudo dnf install yazi
sudo dnf copr enable dejan/lazygit
sudo dnf install lazygit
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/MichaelAquilina/zsh-you-should-use.git $ZSH_CUSTOM/plugins/you-should-use
git clone https://github.com/fdellwing/zsh-bat.git $ZSH_CUSTOM/plugins/zsh-bat
git clone https://github.com/jeffreytse/zsh-vi-mode ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-vi-mode
sudo dnf install pipx
pipx install commitizen
install Autin (shell history tool):
https://docs.atuin.sh/guide/installation/
and it config file to ~/.config/atuin/config.toml:
https://github.com/Juliosezar/My_ZSH_Shell/blob/master/config.toml