Terminal & ZSH
passo a passo no .mdInstalar o ZSH
sudo apt update -y && sudo apt upgrade -y
sudo apt install zsh -y
chsh -s /bin/zsh
zsh
Oh My Zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Spaceship + Autosuggestions + Syntax Highlighting
Z="${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}" &&
git clone --depth=1 https://github.com/spaceship-prompt/spaceship-prompt.git "$Z/themes/spaceship-prompt" &&
ln -s "$Z/themes/spaceship-prompt/spaceship.zsh-theme" "$Z/themes/spaceship.zsh-theme" &&
git clone --depth=1 https://github.com/zsh-users/zsh-autosuggestions "$Z/plugins/zsh-autosuggestions" &&
git clone --depth=1 https://github.com/zsh-users/zsh-syntax-highlighting.git "$Z/plugins/zsh-syntax-highlighting"
Ativar tema e plugins
sed -i 's/^ZSH_THEME=.*/ZSH_THEME="duellj"/' ~/.zshrc
sed -i 's/^plugins=.*/plugins=(git zsh-autosuggestions zsh-syntax-highlighting)/' ~/.zshrc
zsh