zsh-syntax-highlighting from shells:zsh-users:zsh-syntax-highlighting project

选择您的操作系统

对于 CentOS 8 Stream,请以根用户 root 运行下面命令:
cd /etc/yum.repos.d/
wget https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/CentOS_8_Stream/shells:zsh-users:zsh-syntax-highlighting.repo
yum install zsh-syntax-highlighting
对于 CentOS 8,请以根用户 root 运行下面命令:
cd /etc/yum.repos.d/
wget https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/CentOS_8/shells:zsh-users:zsh-syntax-highlighting.repo
yum install zsh-syntax-highlighting
对于 CentOS 7,请以根用户 root 运行下面命令:
cd /etc/yum.repos.d/
wget https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/CentOS_7/shells:zsh-users:zsh-syntax-highlighting.repo
yum install zsh-syntax-highlighting
对于 CentOS 6,请以根用户 root 运行下面命令:
cd /etc/yum.repos.d/
wget https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/CentOS_6/shells:zsh-users:zsh-syntax-highlighting.repo
yum install zsh-syntax-highlighting
对于 Raspbian 9.0,请运行以下命令:
Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information).
echo 'deb http://download.opensuse.org/repositories/shells:/zsh-users:/zsh-syntax-highlighting/Raspbian_9.0/ /' | sudo tee /etc/apt/sources.list.d/shells:zsh-users:zsh-syntax-highlighting.list
curl -fsSL https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/Raspbian_9.0/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/shells_zsh-users_zsh-syntax-highlighting.gpg > /dev/null
sudo apt update
sudo apt install zsh-syntax-highlighting
对于 Debian Unstable,请运行以下命令:
Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information).
echo 'deb http://download.opensuse.org/repositories/shells:/zsh-users:/zsh-syntax-highlighting/Debian_Unstable/ /' | sudo tee /etc/apt/sources.list.d/shells:zsh-users:zsh-syntax-highlighting.list
curl -fsSL https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/Debian_Unstable/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/shells_zsh-users_zsh-syntax-highlighting.gpg > /dev/null
sudo apt update
sudo apt install zsh-syntax-highlighting
对于 Debian Testing,请运行以下命令:
Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information).
echo 'deb http://download.opensuse.org/repositories/shells:/zsh-users:/zsh-syntax-highlighting/Debian_Testing/ /' | sudo tee /etc/apt/sources.list.d/shells:zsh-users:zsh-syntax-highlighting.list
curl -fsSL https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/Debian_Testing/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/shells_zsh-users_zsh-syntax-highlighting.gpg > /dev/null
sudo apt update
sudo apt install zsh-syntax-highlighting
对于 Debian 9.0,请运行以下命令:
Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information).
echo 'deb http://download.opensuse.org/repositories/shells:/zsh-users:/zsh-syntax-highlighting/Debian_9.0/ /' | sudo tee /etc/apt/sources.list.d/shells:zsh-users:zsh-syntax-highlighting.list
curl -fsSL https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/Debian_9.0/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/shells_zsh-users_zsh-syntax-highlighting.gpg > /dev/null
sudo apt update
sudo apt install zsh-syntax-highlighting
对于 Debian 8.0,请运行以下命令:
Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information).
echo 'deb http://download.opensuse.org/repositories/shells:/zsh-users:/zsh-syntax-highlighting/Debian_8.0/ /' | sudo tee /etc/apt/sources.list.d/shells:zsh-users:zsh-syntax-highlighting.list
curl -fsSL https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/Debian_8.0/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/shells_zsh-users_zsh-syntax-highlighting.gpg > /dev/null
sudo apt update
sudo apt install zsh-syntax-highlighting
对于 Debian 7.0,请运行以下命令:
Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information).
echo 'deb http://download.opensuse.org/repositories/shells:/zsh-users:/zsh-syntax-highlighting/Debian_7.0/ /' | sudo tee /etc/apt/sources.list.d/shells:zsh-users:zsh-syntax-highlighting.list
curl -fsSL https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/Debian_7.0/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/shells_zsh-users_zsh-syntax-highlighting.gpg > /dev/null
sudo apt update
sudo apt install zsh-syntax-highlighting
对于 Debian 11,请运行以下命令:
Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information).
echo 'deb http://download.opensuse.org/repositories/shells:/zsh-users:/zsh-syntax-highlighting/Debian_11/ /' | sudo tee /etc/apt/sources.list.d/shells:zsh-users:zsh-syntax-highlighting.list
curl -fsSL https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/Debian_11/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/shells_zsh-users_zsh-syntax-highlighting.gpg > /dev/null
sudo apt update
sudo apt install zsh-syntax-highlighting
对于 Debian 10,请运行以下命令:
Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information).
echo 'deb http://download.opensuse.org/repositories/shells:/zsh-users:/zsh-syntax-highlighting/Debian_10/ /' | sudo tee /etc/apt/sources.list.d/shells:zsh-users:zsh-syntax-highlighting.list
curl -fsSL https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/Debian_10/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/shells_zsh-users_zsh-syntax-highlighting.gpg > /dev/null
sudo apt update
sudo apt install zsh-syntax-highlighting
对于 Fedora Rawhide,请以根用户 root 运行下面命令:
dnf config-manager addrepo --from-repofile=https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/Fedora_Rawhide/shells:zsh-users:zsh-syntax-highlighting.repo
dnf install zsh-syntax-highlighting
对于 Mageia Cauldron,请以根用户 root 运行下面命令:
dnf config-manager --add-repo https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/Mageia_Cauldron/shells:zsh-users:zsh-syntax-highlighting.repo
dnf install zsh-syntax-highlighting
对于 Mageia 7,请以根用户 root 运行下面命令:
dnf config-manager --add-repo https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/Mageia_7/shells:zsh-users:zsh-syntax-highlighting.repo
dnf install zsh-syntax-highlighting
对于 Mageia 6,请以根用户 root 运行下面命令:
dnf config-manager --add-repo https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/Mageia_6/shells:zsh-users:zsh-syntax-highlighting.repo
dnf install zsh-syntax-highlighting
对于 openSUSE Tumbleweed,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/openSUSE_Tumbleweed/shells:zsh-users:zsh-syntax-highlighting.repo
zypper refresh
zypper install zsh-syntax-highlighting
对于 openSUSE Leap 42.3,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/openSUSE_Leap_42.3/shells:zsh-users:zsh-syntax-highlighting.repo
zypper refresh
zypper install zsh-syntax-highlighting
对于 openSUSE Leap 42.2 Ports,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/openSUSE_Leap_42.2_Ports/shells:zsh-users:zsh-syntax-highlighting.repo
zypper refresh
zypper install zsh-syntax-highlighting
对于 openSUSE Leap 42.2,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/openSUSE_Leap_42.2/shells:zsh-users:zsh-syntax-highlighting.repo
zypper refresh
zypper install zsh-syntax-highlighting
对于 openSUSE Leap 42.1,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/openSUSE_Leap_42.1/shells:zsh-users:zsh-syntax-highlighting.repo
zypper refresh
zypper install zsh-syntax-highlighting
对于 openSUSE Leap 15.1 PowerPC,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/openSUSE_Leap_15.1_PowerPC/shells:zsh-users:zsh-syntax-highlighting.repo
zypper refresh
zypper install zsh-syntax-highlighting
对于 openSUSE Leap 15.1 ARM,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/openSUSE_Leap_15.1_ARM/shells:zsh-users:zsh-syntax-highlighting.repo
zypper refresh
zypper install zsh-syntax-highlighting
对于 openSUSE Leap 15.0 Ports,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/openSUSE_Leap_15.0_Ports/shells:zsh-users:zsh-syntax-highlighting.repo
zypper refresh
zypper install zsh-syntax-highlighting
对于 openSUSE Factory PowerPC,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/openSUSE_Factory_PowerPC/shells:zsh-users:zsh-syntax-highlighting.repo
zypper refresh
zypper install zsh-syntax-highlighting
对于 openSUSE Factory ARM,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/openSUSE_Factory_ARM/shells:zsh-users:zsh-syntax-highlighting.repo
zypper refresh
zypper install zsh-syntax-highlighting
对于 SLE 15 SP1 Backports,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/SLE_15_SP1_Backports/shells:zsh-users:zsh-syntax-highlighting.repo
zypper refresh
zypper install zsh-syntax-highlighting
对于 SLE 12 SP4 Backports,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/SLE_12_SP4_Backports/shells:zsh-users:zsh-syntax-highlighting.repo
zypper refresh
zypper install zsh-syntax-highlighting
对于 SLE 12 SP3 Backports,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/SLE_12_SP3_Backports/shells:zsh-users:zsh-syntax-highlighting.repo
zypper refresh
zypper install zsh-syntax-highlighting
对于 SLE 12 SP2 Backports,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/SLE_12_SP2_Backports/shells:zsh-users:zsh-syntax-highlighting.repo
zypper refresh
zypper install zsh-syntax-highlighting
对于 SLE 12 SP1 Backports,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/SLE_12_SP1_Backports/shells:zsh-users:zsh-syntax-highlighting.repo
zypper refresh
zypper install zsh-syntax-highlighting
对于 SLE 12 Backports,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/SLE_12_Backports/shells:zsh-users:zsh-syntax-highlighting.repo
zypper refresh
zypper install zsh-syntax-highlighting
对于 15.4,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/15.4/shells:zsh-users:zsh-syntax-highlighting.repo
zypper refresh
zypper install zsh-syntax-highlighting
对于 Raspbian 11,请运行以下命令:
Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information).
echo 'deb http://download.opensuse.org/repositories/shells:/zsh-users:/zsh-syntax-highlighting/Raspbian_11/ /' | sudo tee /etc/apt/sources.list.d/shells:zsh-users:zsh-syntax-highlighting.list
curl -fsSL https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/Raspbian_11/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/shells_zsh-users_zsh-syntax-highlighting.gpg > /dev/null
sudo apt update
sudo apt install zsh-syntax-highlighting
对于 Raspbian 10,请运行以下命令:
Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information).
echo 'deb http://download.opensuse.org/repositories/shells:/zsh-users:/zsh-syntax-highlighting/Raspbian_10/ /' | sudo tee /etc/apt/sources.list.d/shells:zsh-users:zsh-syntax-highlighting.list
curl -fsSL https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/Raspbian_10/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/shells_zsh-users_zsh-syntax-highlighting.gpg > /dev/null
sudo apt update
sudo apt install zsh-syntax-highlighting

用于 Raspbian 11 的软件包:

用于 Raspbian 10 的软件包:

对于 RHEL 7,请以根用户 root 运行下面命令:
cd /etc/yum.repos.d/
wget https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/RHEL_7/shells:zsh-users:zsh-syntax-highlighting.repo
yum install zsh-syntax-highlighting
对于 ScientificLinux 7,请以根用户 root 运行下面命令:
cd /etc/yum.repos.d/
wget https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/ScientificLinux_7/shells:zsh-users:zsh-syntax-highlighting.repo
yum install zsh-syntax-highlighting
对于 ScientificLinux 6,请以根用户 root 运行下面命令:
cd /etc/yum.repos.d/
wget https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/ScientificLinux_6/shells:zsh-users:zsh-syntax-highlighting.repo
yum install zsh-syntax-highlighting
对于 SLE 15 Backports,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/SLE_15_Backports/shells:zsh-users:zsh-syntax-highlighting.repo
zypper refresh
zypper install zsh-syntax-highlighting
对于 SLE 15,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/SLE_15/shells:zsh-users:zsh-syntax-highlighting.repo
zypper refresh
zypper install zsh-syntax-highlighting
对于 SLE 12 SP4,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/SLE_12_SP4/shells:zsh-users:zsh-syntax-highlighting.repo
zypper refresh
zypper install zsh-syntax-highlighting
对于 SLE 12 SP3,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/SLE_12_SP3/shells:zsh-users:zsh-syntax-highlighting.repo
zypper refresh
zypper install zsh-syntax-highlighting
对于 SLE 12 SP2,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/SLE_12_SP2/shells:zsh-users:zsh-syntax-highlighting.repo
zypper refresh
zypper install zsh-syntax-highlighting
对于 SLE 12 SP1,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/SLE_12_SP1/shells:zsh-users:zsh-syntax-highlighting.repo
zypper refresh
zypper install zsh-syntax-highlighting
对于 SLE 12,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/SLE_12/shells:zsh-users:zsh-syntax-highlighting.repo
zypper refresh
zypper install zsh-syntax-highlighting
对于 xUbuntu 22.04,请运行以下命令:
Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information).
echo 'deb http://download.opensuse.org/repositories/shells:/zsh-users:/zsh-syntax-highlighting/xUbuntu_22.04/ /' | sudo tee /etc/apt/sources.list.d/shells:zsh-users:zsh-syntax-highlighting.list
curl -fsSL https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/xUbuntu_22.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/shells_zsh-users_zsh-syntax-highlighting.gpg > /dev/null
sudo apt update
sudo apt install zsh-syntax-highlighting
对于 xUbuntu 21.10,请运行以下命令:
Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information).
echo 'deb http://download.opensuse.org/repositories/shells:/zsh-users:/zsh-syntax-highlighting/xUbuntu_21.10/ /' | sudo tee /etc/apt/sources.list.d/shells:zsh-users:zsh-syntax-highlighting.list
curl -fsSL https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/xUbuntu_21.10/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/shells_zsh-users_zsh-syntax-highlighting.gpg > /dev/null
sudo apt update
sudo apt install zsh-syntax-highlighting
对于 xUbuntu 21.04,请运行以下命令:
Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information).
echo 'deb http://download.opensuse.org/repositories/shells:/zsh-users:/zsh-syntax-highlighting/xUbuntu_21.04/ /' | sudo tee /etc/apt/sources.list.d/shells:zsh-users:zsh-syntax-highlighting.list
curl -fsSL https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/xUbuntu_21.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/shells_zsh-users_zsh-syntax-highlighting.gpg > /dev/null
sudo apt update
sudo apt install zsh-syntax-highlighting
对于 xUbuntu 20.04,请运行以下命令:
Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information).
echo 'deb http://download.opensuse.org/repositories/shells:/zsh-users:/zsh-syntax-highlighting/xUbuntu_20.04/ /' | sudo tee /etc/apt/sources.list.d/shells:zsh-users:zsh-syntax-highlighting.list
curl -fsSL https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/xUbuntu_20.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/shells_zsh-users_zsh-syntax-highlighting.gpg > /dev/null
sudo apt update
sudo apt install zsh-syntax-highlighting
对于 xUbuntu 18.04,请运行以下命令:
Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information).
echo 'deb http://download.opensuse.org/repositories/shells:/zsh-users:/zsh-syntax-highlighting/xUbuntu_18.04/ /' | sudo tee /etc/apt/sources.list.d/shells:zsh-users:zsh-syntax-highlighting.list
curl -fsSL https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/xUbuntu_18.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/shells_zsh-users_zsh-syntax-highlighting.gpg > /dev/null
sudo apt update
sudo apt install zsh-syntax-highlighting
对于 xUbuntu 16.04,请运行以下命令:
Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information).
echo 'deb http://download.opensuse.org/repositories/shells:/zsh-users:/zsh-syntax-highlighting/xUbuntu_16.04/ /' | sudo tee /etc/apt/sources.list.d/shells:zsh-users:zsh-syntax-highlighting.list
curl -fsSL https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/xUbuntu_16.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/shells_zsh-users_zsh-syntax-highlighting.gpg > /dev/null
sudo apt update
sudo apt install zsh-syntax-highlighting
对于 xUbuntu 14.04,请运行以下命令:
Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information).
echo 'deb http://download.opensuse.org/repositories/shells:/zsh-users:/zsh-syntax-highlighting/xUbuntu_14.04/ /' | sudo tee /etc/apt/sources.list.d/shells:zsh-users:zsh-syntax-highlighting.list
curl -fsSL https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/xUbuntu_14.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/shells_zsh-users_zsh-syntax-highlighting.gpg > /dev/null
sudo apt update
sudo apt install zsh-syntax-highlighting
对于 xUbuntu 12.04,请运行以下命令:
Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information).
echo 'deb http://download.opensuse.org/repositories/shells:/zsh-users:/zsh-syntax-highlighting/xUbuntu_12.04/ /' | sudo tee /etc/apt/sources.list.d/shells:zsh-users:zsh-syntax-highlighting.list
curl -fsSL https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/xUbuntu_12.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/shells_zsh-users_zsh-syntax-highlighting.gpg > /dev/null
sudo apt update
sudo apt install zsh-syntax-highlighting
对于 Univention 4.4,请以根用户 root 运行下面命令:
echo 'deb http://download.opensuse.org/repositories/shells:/zsh-users:/zsh-syntax-highlighting/Univention_4.4/ /' > /etc/apt/sources.list.d/shells:zsh-users:zsh-syntax-highlighting.list
wget -nv https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/Univention_4.4/Release.key -O Release.key
apt-key add - < Release.key
apt-get update
apt-get install zsh-syntax-highlighting
对于 Univention 4.3,请以根用户 root 运行下面命令:
echo 'deb http://download.opensuse.org/repositories/shells:/zsh-users:/zsh-syntax-highlighting/Univention_4.3/ /' > /etc/apt/sources.list.d/shells:zsh-users:zsh-syntax-highlighting.list
wget -nv https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/Univention_4.3/Release.key -O Release.key
apt-key add - < Release.key
apt-get update
apt-get install zsh-syntax-highlighting