Removed coloring restriction for interactive shells
Resolves: rhbz#1034631
This commit is contained in:
parent
9e737f2845
commit
d1d59d992d
@ -1,8 +1,5 @@
|
|||||||
# color-grep initialization
|
# color-grep initialization
|
||||||
|
|
||||||
# Skip the rest for noninteractive shells.
|
|
||||||
[ -z "$PS1" ] && return
|
|
||||||
|
|
||||||
if [ -r /etc/GREP_COLORS ]; then
|
if [ -r /etc/GREP_COLORS ]; then
|
||||||
grep -qi "^COLOR.*none" /etc/GREP_COLORS >/dev/null 2>/dev/null && return
|
grep -qi "^COLOR.*none" /etc/GREP_COLORS >/dev/null 2>/dev/null && return
|
||||||
fi
|
fi
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Summary: Pattern matching utilities
|
Summary: Pattern matching utilities
|
||||||
Name: grep
|
Name: grep
|
||||||
Version: 2.15
|
Version: 2.15
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Group: Applications/Text
|
Group: Applications/Text
|
||||||
Source: ftp://ftp.gnu.org/pub/gnu/grep/grep-%{version}.tar.xz
|
Source: ftp://ftp.gnu.org/pub/gnu/grep/grep-%{version}.tar.xz
|
||||||
@ -85,6 +85,10 @@ fi
|
|||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 26 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.15-2
|
||||||
|
- Removed coloring restriction for interactive shells
|
||||||
|
Resolves: rhbz#1034631
|
||||||
|
|
||||||
* Tue Oct 29 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.15-1
|
* Tue Oct 29 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.15-1
|
||||||
- New version
|
- New version
|
||||||
Resolves: rhbz#1023698
|
Resolves: rhbz#1023698
|
||||||
|
Loading…
Reference in New Issue
Block a user