Vous n'êtes pas identifié(e).
L'icône rouge permet de télécharger chaque page du wiki visitée au format PDF et la grise au format ODT →
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
utilisateurs:kawer:tutos:ohmyzsh [02/03/2020 10:08] kawer créée |
utilisateurs:kawer:tutos:ohmyzsh [23/01/2022 17:49] kawer [Introduction] |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== zsh - ohmyzsh ====== | + | ====== zsh - ohmyzsh - Powerlevel10k ====== |
- | * Objet : Personnalisation du shell ZSH - ohmyzsh | + | * Objet : Personnalisation du shell ZSH - ohmyzsh - Powerlevel10k |
- | * Niveau requis : FIXME {{tag>débutant avisé}} | + | * Niveau requis : {{tag>débutant avisé}} |
- | * Commentaires : // goodies // | + | * Commentaires : // shell, goodies // |
* Débutant, à savoir : [[:doc:systeme:commandes:le_debianiste_qui_papillonne|Utiliser GNU/Linux en ligne de commande, tout commence là !.]] :-) | * Débutant, à savoir : [[:doc:systeme:commandes:le_debianiste_qui_papillonne|Utiliser GNU/Linux en ligne de commande, tout commence là !.]] :-) | ||
===== Introduction ===== | ===== Introduction ===== | ||
- | Amélioration du shell zsh avec ohmyzsh, coloration syntaxique, suggestions des commandes depuis l'historique ... | + | Amélioration du shell zsh avec ohmyzsh et powerlevel10k, coloration syntaxique, suggestions des commandes depuis l'historique ... |
===== Installation ===== | ===== Installation ===== | ||
+ | Paquets Nécessaire : | ||
<code root>apt update && apt install fonts-powerline git curl zsh</code> | <code root>apt update && apt install fonts-powerline git curl zsh</code> | ||
+ | |||
<code user>sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"</code> | <code user>sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"</code> | ||
Ligne 18: | Ligne 20: | ||
</code> | </code> | ||
+ | **Optionnel (dépends de la section configuration) :** | ||
+ | |||
+ | //Un thème sympathique :// | ||
+ | <code user>git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k</code> | ||
+ | //Prédiction basé sur les commandes contenu dans le .zsh_history :// | ||
+ | <code user>git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions</code> | ||
+ | //Coloration Syntaxique :// | ||
+ | <code user>git clone https://github.com/zsh-users/zsh-syntax-highlighting ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting</code> | ||
===== Configuration ===== | ===== Configuration ===== | ||
<code user>nano ~/.zshrc</code> | <code user>nano ~/.zshrc</code> |