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
- Installez zsh avec le gestionnaire de paquet
sudo apt install zsh
2. Faites en le shell par défaut
chsh -s $(which zsh)
3. Redémarrez votre terminal et vous êtes pret (avec ubuntu linux vous devrez vous déconnecter et vous reconnecter)
4. Si vous avez une question de sélection, choisissez 0
Tapez "echo $SHELL" pour vérifier le shell, la réponse doit être : /usr/bin/zsh
Les autres étapes sont toutes les mêmes pour tous les OS
Collez la commande ci-dessous pour installer Oh My Zsh.
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
On va cloner le dépôt dans le dossier personnalisé du théme
git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
Téléchargez et installez les polices Patchées Nerd
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)