Skip to main content

Guide 10: User Customization mit ZSH (Personalisierung)

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

    Voraussetzungen installieren:


    1
    2
    pkg install zsh git curl

     



    Oh My Zsh installieren:


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

     



    Zsh als Standard-Shell festlegen:


    1
    2
    chsh -s zsh



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

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

       

        • Autosuggestions:

      git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
        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)