« Ubuntu arm 20.04 » : différence entre les versions
De Banane Atomic
Aller à la navigationAller à la recherche
Ligne 31 : | Ligne 31 : | ||
<filebox fn='~/.zshrc' lang='bash'> | <filebox fn='~/.zshrc' lang='bash'> | ||
plugins=( | |||
plugins=(common-aliases debian extract | alias-finder | ||
colored-man-pages | |||
common-aliases | |||
copybuffer | |||
debian | |||
extract | |||
fd | |||
ripgrep | |||
sudo | |||
systemd | |||
wd) | |||
# don't store in history commands prefixed with a space (test with: history | tail) | # don't store in history commands prefixed with a space (test with: history | tail) | ||
setopt HIST_IGNORE_SPACE | setopt HIST_IGNORE_SPACE | ||
# | # must be loaded last | ||
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh | source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh | ||
</filebox> | </filebox> | ||
* [https://github.com/zsh-users/antigen zsh-antigen]: plugin manager | * [https://github.com/zsh-users/antigen zsh-antigen]: plugin manager | ||
* [https://github.com/zsh-users/zsh-autosuggestions zsh-autosuggestions]: autosuggestions | * [https://github.com/zsh-users/zsh-autosuggestions zsh-autosuggestions]: autosuggestions | ||
* [https://github.com/zsh-users/zsh-syntax-highlighting zsh-syntax-highlighting]: syntax highlighting | * [https://github.com/zsh-users/zsh-syntax-highlighting zsh-syntax-highlighting]: syntax highlighting | ||
* [https://github.com/Powerlevel9k/powerlevel9k zsh-theme-powerlevel9k]: theme (deprecated) | * [https://github.com/Powerlevel9k/powerlevel9k zsh-theme-powerlevel9k]: theme (deprecated) |
Version du 8 août 2023 à 17:44
Links
Useful commande lignes
# mise à jour adg sudo apt update && sudo apt upgrade sudo snap refresh # reboot sudo reboot # shutdown sudo poweroff |
APT (Advanced Package Tool)
zsh - oh my zsh
# install zsh apt install zsh zsh-syntax-highlighting # zsh install zsh-common # install oh-my-zsh and set zsh as default shell for the current user sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" |
~/.zshrc |
plugins=( alias-finder colored-man-pages common-aliases copybuffer debian extract fd ripgrep sudo systemd wd) # don't store in history commands prefixed with a space (test with: history | tail) setopt HIST_IGNORE_SPACE # must be loaded last source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh |
- zsh-antigen: plugin manager
- zsh-autosuggestions: autosuggestions
- zsh-syntax-highlighting: syntax highlighting
- zsh-theme-powerlevel9k: theme (deprecated)