zle vi-forward-char
fi
}
-bindkey "^P" my-vi-history-beginning-search-backward
-bindkey -a "^P" history-beginning-search-backward # binding for Vi-mode
+bindkey '^P' my-vi-history-beginning-search-backward
+bindkey -a '^P' history-beginning-search-backward # binding for Vi-mode
# Here only Vi-mode is necessary as ^P enters Vi-mode and ^N only makes sense
# after calling ^P.
-bindkey -a "^N" history-beginning-search-forward
+bindkey -a '^N' history-beginning-search-forward
# PROMPT SETTINGS
[[ -z $window_reset ]] && return
# Reset the window name to 'zsh'.
- local name="zsh"
+ local name=zsh
# If the function was called with an argument then reset the window
# name to '.zsh' (used by clear alias).
if [[ -n $1 ]]; then
- name=".zsh"
+ name=.zsh
fi
# Prepend prefixes like in window_preexec().
setopt nolistambiguous
# Allow completions in the middle of a text, i.e. "/usr/bin/<TAB>whatever"
# completes like "/usr/bin/<TAB>". Useful when adding new options to commands.
-bindkey "^I" expand-or-complete-prefix
+bindkey '^I' expand-or-complete-prefix
# Try uppercase if the currently typed string doesn't match. This allows
# typing in lowercase most of the time and completion fixes the case.
zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z}'
# Settings when creating Debian packages.
DEBEMAIL=simon@ruderich.org
export DEBEMAIL
- DEBFULLNAME="Simon Ruderich"
+ DEBFULLNAME='Simon Ruderich'
export DEBFULLNAME
elif [[ $(uname) == Darwin ]]; then # Mac OS X