- 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
This commit is contained in:
Ismail Dönmez 2013-04-22 09:23:02 +00:00 committed by Git OBS Bridge
parent ef7e09ba45
commit 0b90e2e3f6
2 changed files with 28 additions and 9 deletions

View File

@ -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

32
zshrc
View File

@ -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