From 0b90e2e3f6c08066f57e5b1a881e97af4db4d390ca5440163d3f1912c1373a0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 22 Apr 2013 09:23:02 +0000 Subject: [PATCH] - Don't set globdots it might lead to unexpected problems (bnc#815556) OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=121 --- zsh.changes | 5 +++++ zshrc | 32 +++++++++++++++++++++++--------- 2 files changed, 28 insertions(+), 9 deletions(-) diff --git a/zsh.changes b/zsh.changes index 35079e3..4f100ab 100644 --- a/zsh.changes +++ b/zsh.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 22 09:22:02 UTC 2013 - idonmez@suse.com + +- Don't set globdots it might lead to unexpected problems (bnc#815556) + ------------------------------------------------------------------- Thu Mar 21 10:17:56 UTC 2013 - idonmez@suse.com diff --git a/zshrc b/zshrc index b2ec51c..b8fdfb7 100644 --- a/zshrc +++ b/zshrc @@ -1,4 +1,4 @@ -# read bash.bashrc first for some features we dont want +# read bash.bashrc first for some features we dont want # to re-implement here source /etc/bash.bashrc @@ -26,11 +26,25 @@ SAVEHIST=500 #RPROMPT="[%T]" # Set/unset shell options -setopt globdots nocorrect pushdtohome autolist nopromptcr -setopt nocorrectall autocd recexact longlistjobs -setopt histignoredups pushdsilent appendhistory histexpiredupsfirst -setopt autopushd pushdminus extendedglob rcquotes -unsetopt bgnice autoparamslash hup +setopt nocorrect +setopt pushdtohome +setopt autolist +setopt nopromptcr +setopt nocorrectall +setopt autocd +setopt recexact +setopt longlistjobs +setopt histignoredups +setopt pushdsilent +setopt appendhistory +setopt histexpiredupsfirst +setopt autopushd +setopt pushdminus +setopt extendedglob +setopt rcquotes +unsetopt bgnice +unsetopt autoparamslash +unsetopt hup # Setup some basic programmable completions. To see more examples # of these, check out /usr/doc/packages/zsh/compctl-examples. @@ -132,14 +146,14 @@ if [[ "$TERM" == "xterm" ]] then # DEC keyboard KP_F1 - KP_F4 bindkey -s "^[OP" "^[" bindkey "^[OQ" undo - bindkey "^[OR" undefined-key + bindkey "^[OR" undefined-key bindkey "^[OS" kill-line fi if [[ "$TERM" == "gnome" ]] then # or gnome terminal F1 - F4 bindkey -s "^[OP" "^[" bindkey "^[OQ" undo - bindkey "^[OR" undefined-key + bindkey "^[OR" undefined-key bindkey "^[OS" kill-line fi # Function keys F1 - F12 @@ -214,7 +228,7 @@ if [[ "$TERM" == "xterm" ]] then fi # EMACS line editing -if [[ "$ZSHEDIT" == "emacs" ]] then +if [[ "$ZSHEDIT" == "emacs" ]] then # ... xterm application cursor if [[ "$TERM" == "xterm" ]] then bindkey "^[^[OD" backward-word