Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37402307
en ru br
ALT Linux repos
S:0.7.1-alt1

Group :: Shells
RPM: zsh-syntax-highlighting

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: zsh-syntax-highlighting
Version: 0.7.1
Release: alt1

Summary: Fish shell like syntax highlighting for Zsh
License: BSD
Url: https://github.com/zsh-users/zsh-syntax-highlighting
Group: Shells
Source0: %version.tar.gz

BuildArch: noarch

BuildRequires: zsh

Requires: zsh

%description
This package provides syntax highlighting for the shell zsh. It enables
highlighting of commands whilst they are typed at a zsh prompt into an
interactive terminal. This helps in reviewing commands before running them,
particularly in catching syntax errors.

%prep
%setup
cat > syntax-highlighting.zsh << at  at  at
source %_datadir/zsh/syntax-highlighting/zsh-syntax-highlighting.zsh
at  at  at

%build
make

%install
make install DESTDIR=%buildroot PREFIX=%prefix SHARE_DIR=%buildroot/%_datadir/zsh/syntax-highlighting

install -D syntax-highlighting.zsh %buildroot/%_sysconfdir/zshrc.d/syntax-highlighting.zsh

%check
%make test
#make perf

%files
%doc %_defaultdocdir/%name
%_datadir/zsh/syntax-highlighting
%_sysconfdir/zshrc.d/syntax-highlighting.zsh

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin