- 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:
parent
ef7e09ba45
commit
0b90e2e3f6
@ -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
|
Thu Mar 21 10:17:56 UTC 2013 - idonmez@suse.com
|
||||||
|
|
||||||
|
32
zshrc
32
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
|
# to re-implement here
|
||||||
source /etc/bash.bashrc
|
source /etc/bash.bashrc
|
||||||
|
|
||||||
@ -26,11 +26,25 @@ SAVEHIST=500
|
|||||||
#RPROMPT="[%T]"
|
#RPROMPT="[%T]"
|
||||||
|
|
||||||
# Set/unset shell options
|
# Set/unset shell options
|
||||||
setopt globdots nocorrect pushdtohome autolist nopromptcr
|
setopt nocorrect
|
||||||
setopt nocorrectall autocd recexact longlistjobs
|
setopt pushdtohome
|
||||||
setopt histignoredups pushdsilent appendhistory histexpiredupsfirst
|
setopt autolist
|
||||||
setopt autopushd pushdminus extendedglob rcquotes
|
setopt nopromptcr
|
||||||
unsetopt bgnice autoparamslash hup
|
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
|
# Setup some basic programmable completions. To see more examples
|
||||||
# of these, check out /usr/doc/packages/zsh/compctl-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
|
# DEC keyboard KP_F1 - KP_F4
|
||||||
bindkey -s "^[OP" "^["
|
bindkey -s "^[OP" "^["
|
||||||
bindkey "^[OQ" undo
|
bindkey "^[OQ" undo
|
||||||
bindkey "^[OR" undefined-key
|
bindkey "^[OR" undefined-key
|
||||||
bindkey "^[OS" kill-line
|
bindkey "^[OS" kill-line
|
||||||
fi
|
fi
|
||||||
if [[ "$TERM" == "gnome" ]] then
|
if [[ "$TERM" == "gnome" ]] then
|
||||||
# or gnome terminal F1 - F4
|
# or gnome terminal F1 - F4
|
||||||
bindkey -s "^[OP" "^["
|
bindkey -s "^[OP" "^["
|
||||||
bindkey "^[OQ" undo
|
bindkey "^[OQ" undo
|
||||||
bindkey "^[OR" undefined-key
|
bindkey "^[OR" undefined-key
|
||||||
bindkey "^[OS" kill-line
|
bindkey "^[OS" kill-line
|
||||||
fi
|
fi
|
||||||
# Function keys F1 - F12
|
# Function keys F1 - F12
|
||||||
@ -214,7 +228,7 @@ if [[ "$TERM" == "xterm" ]] then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# EMACS line editing
|
# EMACS line editing
|
||||||
if [[ "$ZSHEDIT" == "emacs" ]] then
|
if [[ "$ZSHEDIT" == "emacs" ]] then
|
||||||
# ... xterm application cursor
|
# ... xterm application cursor
|
||||||
if [[ "$TERM" == "xterm" ]] then
|
if [[ "$TERM" == "xterm" ]] then
|
||||||
bindkey "^[^[OD" backward-word
|
bindkey "^[^[OD" backward-word
|
||||||
|
Loading…
Reference in New Issue
Block a user