« Ubuntu arm 20.04 » : différence entre les versions

De Banane Atomic
Aller à la navigationAller à la recherche
Aucun résumé des modifications
Ligne 17 : Ligne 17 :
sudo poweroff
sudo poweroff
</kode>
</kode>
= [https://github.com/robbyrussell/oh-my-zsh zsh - oh my zsh] =
<kode lang='bash'>
apt install zsh zsh-syntax-highlighting
# zsh install zsh-common
# install oh-my-zsh et change de shell
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
</kode>
<filebox fn='~/.zshrc' lang='bash'>
# plugins
plugins=(common-aliases debian extract git sudo systemd wd)
# don't store in history commands prefixed with a space (test with: history | tail)
setopt HIST_IGNORE_SPACE
# zsh-syntax-highlighting, doit être sourcé en dernier
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
</filebox>
* [https://github.com/zsh-users/antigen zsh-antigen]: plugin manager
* [https://github.com/Powerlevel9k/powerlevel9k zsh-theme-powerlevel9k]: Powerline theme

Version du 8 août 2023 à 14:58

Links

Useful commande lignes

Bash.svg
# mise à jour
adg
sudo apt update && sudo apt upgrade
sudo snap refresh

# reboot
sudo reboot

# shutdown
sudo poweroff

zsh - oh my zsh

Bash.svg
apt install zsh zsh-syntax-highlighting
# zsh install zsh-common

# install oh-my-zsh et change de shell
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
~/.zshrc
# plugins
plugins=(common-aliases debian extract git sudo systemd wd)

# don't store in history commands prefixed with a space (test with: history | tail)
setopt HIST_IGNORE_SPACE

# zsh-syntax-highlighting, doit être sourcé en dernier
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh