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.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
utilisateurs:kawer:tutos:ohmyzsh [23/01/2022 17:59] kawer [Installation] |
utilisateurs:kawer:tutos:ohmyzsh [23/01/2022 18:09] kawer [Configuration] |
||
---|---|---|---|
Ligne 25: | Ligne 25: | ||
<code user>git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k</code> | <code user>git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k</code> | ||
+ | // | ||
+ | **Plugin additionnel :**// | ||
- | **Plugin additionnel** | ||
- | |||
- | //Un thème sympathique :// | ||
- | <code user>git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k</code> | ||
//Prédiction basé sur les commandes contenu dans le .zsh_history :// | //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> | <code user>git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions</code> | ||
Ligne 35: | Ligne 33: | ||
<code user>git clone https://github.com/zsh-users/zsh-syntax-highlighting ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting</code> | <code user>git clone https://github.com/zsh-users/zsh-syntax-highlighting ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting</code> | ||
===== Configuration ===== | ===== Configuration ===== | ||
+ | |||
+ | === OhMyZsh === | ||
<code user>nano ~/.zshrc</code> | <code user>nano ~/.zshrc</code> | ||
Ligne 40: | Ligne 40: | ||
<code>export TERM="xterm-256color"</code> | <code>export TERM="xterm-256color"</code> | ||
- | **-Cherchez : ZSH_THEME="robbyrussell" et remplacer par : ** | + | **-Cherchez : ZSH_THEME="xxx" et remplacer par : ** |
- | <code>ZSH_THEME="powerlevel9k/powerlevel9k"</code> | + | <code>ZSH_THEME="powerlevel10k/powerlevel10k"</code> |
- | **-Idem avec : plugins=(git) :** | + | **-Cherchez : plugins=“xxx” et remplacer par : :** |
<code>plugins=( | <code>plugins=( | ||
zsh-autosuggestions | zsh-autosuggestions | ||
Ligne 50: | Ligne 50: | ||
git | git | ||
) | ) | ||
- | </code> | ||
- | |||
- | **-Puis à la fin de votre fichier pour un laptop :** | ||
- | <code>POWERLEVEL9K_CUSTOM_DEBIAN_ICON="echo -e '\uf306' " | ||
- | POWERLEVEL9K_CUSTOM_DEBIAN_ICON_BACKGROUND=233 | ||
- | POWERLEVEL9K_CUSTOM_DEBIAN_ICON_FOREGROUND=010 | ||
- | |||
- | POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(custom_debian_icon root_indicator dir dir_writable) | ||
- | POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status time battery) | ||
- | |||
- | POWERLEVEL9K_PROMPT_ON_NEWLINE=true | ||
- | POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX="\u256d\u2500 " | ||
- | POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX="\u2570\ue0c0 " | ||
- | |||
- | POWERLEVEL9K_PROMPT_ADD_NEWLINE=true | ||
- | |||
- | POWERLEVEL9K_TIME_FORMAT="%D{\ue383 %H:%M \uf073 %d.%m.%y}" | ||
- | |||
- | POWERLEVEL9K_BATTERY_CHARGING='yellow' | ||
- | POWERLEVEL9K_BATTERY_CHARGED='green' | ||
- | POWERLEVEL9K_BATTERY_DISCONNECTED='$DEFAULT_COLOR' | ||
- | POWERLEVEL9K_BATTERY_LOW_THRESHOLD='10' | ||
- | POWERLEVEL9K_BATTERY_LOW_COLOR='red' | ||
- | POWERLEVEL9K_BATTERY_ICON='\uf1e6 ' | ||
- | </code> | ||
- | |||
- | **-Puis à la fin de votre fichier pour un desktop :** | ||
- | <code> | ||
- | POWERLEVEL9K_CUSTOM_DEBIAN_ICON="echo -e '\uf306' " | ||
- | POWERLEVEL9K_CUSTOM_DEBIAN_ICON_BACKGROUND=233 | ||
- | POWERLEVEL9K_CUSTOM_DEBIAN_ICON_FOREGROUND=010 | ||
- | |||
- | POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(custom_debian_icon root_indicator dir dir_writable) | ||
- | POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status time) | ||
- | |||
- | POWERLEVEL9K_PROMPT_ON_NEWLINE=true | ||
- | POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX="\u256d\u2500 " | ||
- | POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX="\u2570\ue0c0 " | ||
- | |||
- | POWERLEVEL9K_PROMPT_ADD_NEWLINE=true | ||
- | |||
- | POWERLEVEL9K_TIME_FORMAT="%D{\ue383 %H:%M \uf073 %d.%m.%y}" | ||
</code> | </code> | ||