Installation d'un environnement de travail ZSH + Kitty + Neovim
Polices de caractères
- Installer les polices *Web Code Pro* et *Web Code Pro NF* (Nerd Fonts, police d'icônes) dans le dossier `~/.fonts`
ZSH
- Installation : `sudo apt install zsh`
- Mettre ZSH comme shell par défaut : `chsh -s $(which zsh)`
* Vérifier avec `echo $SHELL` depuis un nouveau terminal, qui devrait répondre `/usr/bin/zsh`
- Installer Oh My Zsh : `sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"`
- Installer le thème Powerline10k : `git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k`
Kitty
- Installation :
curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin dest=/opt/kitty sudo ln -s /opt/kitty/kitty.app/bin/kitty /usr/local/bin/kitty cp /opt/kitty/kitty.app/share/applications/kitty.desktop ~/.local/share/applications/ sed -i "s|Icon=kitty|Icon=/opt/kitty/kitty.app/share/icons/hicolor/256x256/apps/kitty.png|g" ~/.local/share/applications/kitty*.desktop sed -i "s|Exec=kitty|Exec=/opt/kitty/kitty.app/bin/kitty|g" ~/.local/share/applications/kitty*.desktop
Neovim
- Installation :
* Récupérer le `.deb` sur le GitHub officiel (la version dans les dépôts est vraiment obsolète)
* Récupérer fd, ripgrep et `sudo apt install npm composer`
* Récupérer Neovide et le placer dans `/opt/neovide`
* Changer le `.desktop` de Neovim pour `kitty zsh -c "nvim %F"` ou `/opt/neovide/neovide %F`
----
Permaliens :