Un shell joli et performent comme sous kali Linux pour votre distribution, et même pour votre W$
C'est possible en suivant ce lien : https://medium.com/@shivam1/make-your-terminal-beautiful-and-fast-with-zsh-shell-and-powerlevel10k-6484461c6efb
Traduction :
Installer ZSH shell pour linux
- Install zsh with your package manager
sudo apt install zsh
2. Make your default shell
chsh -s $(which zsh)
3. Restart your terminal and you are ready to go (In linux ubuntu you may need to logout and login again)
4. If it’s asking for selecting an option press 0
Type echo $SHELL
to verify the shell it should print /usr/bin/zsh
Further setup will be same for all Operating System.
Just paste this command in your terminal and it will install Oh My Zsh.
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
We will clone the repository into the custom theme folder
git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
Download and install Nerd Patched fonts
https://github.com/ryanoasis/nerd-fonts
Download Plugins for autosuggestion and syntax highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
Now edit your ~/.zshrc
file to use the PowerLeve10K theme, Awesome Patched font, Autocorrection, Autosuggestion and Syntax highlighting.
vim.tiny ~/.zshrc
Find the ZSH_THME
and replace it with
ZSH_THEME="powerlevel10k/powerlevel10k"
Also add this line below to use Nerd Patched fonts
POWERLEVEL9K_MODE="nerdfont-complete"
If you want to enable auto correction then find uncomment the line by removing #
from
#ENABLE_CORRECTION="true"
//to this
ENABLE_CORRECTION="true"
Now we will add plugins so scroll down a little till you find
plugins=(git)
And now add the plugins which we downloaded, like this
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)