fachinformatiker-wiki

it's easy when it's here

User Tools

Site Tools


linux:ohmyzsh

Oh My Zsh

Installation

sudo apt update
sudo apt install zsh curl git
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Standard-Shell ändern:

chsh -s $(which zsh)

Plugins

nano ~/.zshrc

ZSH_THEME="duellj"
plugins=(git sudo zsh-autosuggestions zsh-syntax-highlighting)

Welcome Message

:!: Benötigt neofetch
:!: sudo apt update && sudo apt install neofetch

Ans Ende der ~/.zshrc anfügen:

# welcome message

echo
echo
neofetch
echo

zsh-autosuggestions

git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

~/.zshrc bearbeiten

plugins=( 
    # andere plugins...
    zsh-autosuggestions
)

zsh-syntax-highlighting

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

~/.zshrc bearbeiten

plugins=( 
    # andere plugins...
    zsh-syntax-highlighting
)
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.  More information about cookies 
linux/ohmyzsh.txt · Last modified: 2024/03/16 16:13 by gsys