-
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=224
This commit is contained in:
parent
ed0e0d8441
commit
0770f932c1
@ -1,7 +1,7 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 5 04:41:08 UTC 2020 - Ismail Dönmez <idonmez@suse.com>
|
Tue May 5 04:41:08 UTC 2020 - Ismail Dönmez <idonmez@suse.com>
|
||||||
|
|
||||||
- Add back LS_COLORS and LS_OPTIONS
|
- Add back LS_COLORS, LS_OPTIONS and GPG_TTY
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 15 09:02:14 UTC 2020 - Ismail Dönmez <idonmez@suse.com>
|
Wed Apr 15 09:02:14 UTC 2020 - Ismail Dönmez <idonmez@suse.com>
|
||||||
|
10
zshrc
10
zshrc
@ -283,7 +283,6 @@ fi
|
|||||||
|
|
||||||
# ls color option depends on the terminal
|
# ls color option depends on the terminal
|
||||||
# If LS_COLORS is set but empty, the terminal has no colors.
|
# If LS_COLORS is set but empty, the terminal has no colors.
|
||||||
#
|
|
||||||
if test "${LS_COLORS+empty}" = "${LS_COLORS:+empty}" ; then
|
if test "${LS_COLORS+empty}" = "${LS_COLORS:+empty}" ; then
|
||||||
LS_OPTIONS=--color=tty
|
LS_OPTIONS=--color=tty
|
||||||
else
|
else
|
||||||
@ -296,13 +295,18 @@ else
|
|||||||
LS_OPTIONS="-N $LS_OPTIONS -T 0"
|
LS_OPTIONS="-N $LS_OPTIONS -T 0"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#
|
|
||||||
# Avoid trouble with Emacs shell mode
|
# Avoid trouble with Emacs shell mode
|
||||||
#
|
|
||||||
if test "$EMACS" = "t" ; then
|
if test "$EMACS" = "t" ; then
|
||||||
LS_OPTIONS='-N --color=none -T 0';
|
LS_OPTIONS='-N --color=none -T 0';
|
||||||
fi
|
fi
|
||||||
export LS_OPTIONS
|
export LS_OPTIONS
|
||||||
|
|
||||||
|
# Set GPG_TTY for curses pinentry
|
||||||
|
# (see man gpg-agent and bnc#619295)
|
||||||
|
if test -t && type -p tty > /dev/null 2>&1 ; then
|
||||||
|
GPG_TTY="`tty`"
|
||||||
|
export GPG_TTY
|
||||||
|
fi
|
||||||
|
|
||||||
# Read custom system-wide config if exists
|
# Read custom system-wide config if exists
|
||||||
test -s /etc/zsh.zshrc.local && . /etc/zsh.zshrc.local
|
test -s /etc/zsh.zshrc.local && . /etc/zsh.zshrc.local
|
||||||
|
Loading…
Reference in New Issue
Block a user