Skip to main content

Guide 10: User Customization mit ZSH (Personalisierung)

Verpasse deinem Terminal ein Upgrade mit Oh My Zsh, Themes und Plugins.

  1. Voraussetzungen installieren:


    1
    2
    pkg install zsh git curl



  2. Oh My Zsh installieren:


    1
    2
    sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"



  3. Zsh als Standard-Shell festlegen:


    1
    2
    chsh -s zsh



  4. Nützliche Plugins hinzufügen (Syntax-Highlighting & Autosuggestions):
    • Highlighting:



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

       



    • Autosuggestions:


       

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



  1. Plugins in der Konfiguration aktivieren:

Öffne die Datei ~/.zshrc mit einem Editor und passe die Plugin-Zeile wie folgt an:

 
plugins=(git zsh-syntax-highlighting zsh-autosuggestions)