Accepting request 172801 from shells
- Don't set globdots it might lead to unexpected problems (bnc#815556) OBS-URL: https://build.opensuse.org/request/show/172801 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zsh?expand=0&rev=51
This commit is contained in:
commit
390153be2f
@ -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
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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user