Accepting request 800536 from shells
OBS-URL: https://build.opensuse.org/request/show/800536 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zsh?expand=0&rev=93
This commit is contained in:
commit
62f49bb6c0
10
zsh.changes
10
zsh.changes
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 5 20:07:10 UTC 2020 - Mykola Krachkovsky <w01dnick@gmail.com>
|
||||||
|
|
||||||
|
- Add $HOME aliases to fix regression after dropping /etc/bash.bashrc
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 5 04:41:08 UTC 2020 - Ismail Dönmez <idonmez@suse.com>
|
||||||
|
|
||||||
|
- 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>
|
||||||
|
|
||||||
|
43
zshrc
43
zshrc
@ -267,5 +267,48 @@ alias unmount='echo "Error: Try the command: umount" 1>&2; false'
|
|||||||
alias which-command=whence
|
alias which-command=whence
|
||||||
alias you='if test "$EUID" = 0 ; then /sbin/yast2 online_update ; else su - -c "/sbin/yast2 online_update" ; fi'
|
alias you='if test "$EUID" = 0 ; then /sbin/yast2 online_update ; else su - -c "/sbin/yast2 online_update" ; fi'
|
||||||
|
|
||||||
|
test -s $HOME/.alias && . $HOME/.alias
|
||||||
|
|
||||||
|
#
|
||||||
|
# Colored file listings
|
||||||
|
#
|
||||||
|
if test -x /usr/bin/dircolors ; then
|
||||||
|
#
|
||||||
|
# set up the color-ls environment variables:
|
||||||
|
#
|
||||||
|
if test -f $HOME/.dir_colors ; then
|
||||||
|
eval "`/usr/bin/dircolors -b $HOME/.dir_colors`"
|
||||||
|
elif test -f /etc/DIR_COLORS ; then
|
||||||
|
eval "`/usr/bin/dircolors -b /etc/DIR_COLORS`"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# ls color option depends on the terminal
|
||||||
|
# If LS_COLORS is set but empty, the terminal has no colors.
|
||||||
|
if test "${LS_COLORS+empty}" = "${LS_COLORS:+empty}" ; then
|
||||||
|
LS_OPTIONS=--color=tty
|
||||||
|
else
|
||||||
|
LS_OPTIONS=--color=none
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "$UID" = 0 ; then
|
||||||
|
LS_OPTIONS="-A -N $LS_OPTIONS -T 0"
|
||||||
|
else
|
||||||
|
LS_OPTIONS="-N $LS_OPTIONS -T 0"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Avoid trouble with Emacs shell mode
|
||||||
|
if test "$EMACS" = "t" ; then
|
||||||
|
LS_OPTIONS='-N --color=none -T 0';
|
||||||
|
fi
|
||||||
|
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