[Pkg-zsh-commits] [zsh] 01/01: zshrc: Make expansion robust with NO_UNSET

Frank Terbeck ft-guest at moszumanska.debian.org
Tue Jan 5 12:29:00 UTC 2016


This is an automated email from the git hooks/post-receive script.

ft-guest pushed a commit to branch debian
in repository zsh.

commit c1e9ec068542e8fb7c516710dd0ee7c5d0c53817
Author: Frank Terbeck <ft at bewatermyfriend.org>
Date:   Tue Jan 5 12:06:35 2016 +0100

    zshrc: Make expansion robust with NO_UNSET
    
    Thanks: Marc Chantreux on #pkg-zsh (freenode)
---
 debian/zshrc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/zshrc b/debian/zshrc
index 84d644d..45aebde 100644
--- a/debian/zshrc
+++ b/debian/zshrc
@@ -11,7 +11,7 @@ READNULLCMD=${PAGER:-/usr/bin/pager}
 # An array to note missing features to ease diagnosis in case of problems.
 typeset -ga debian_missing_features
 
-if [[ -z "$DEBIAN_PREVENT_KEYBOARD_CHANGES" ]] &&
+if [[ -z "${DEBIAN_PREVENT_KEYBOARD_CHANGES-}" ]] &&
    [[ "$TERM" != 'emacs' ]]
 then
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/zsh.git



More information about the Pkg-zsh-commits mailing list