mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-06-14 08:41:43 +00:00
Tradition dictates that options are uppercase.
This commit is contained in:
@ -105,8 +105,8 @@ add-zsh-trap INT _git-info-abort
|
||||
# Gets the Git status information.
|
||||
function git-info() {
|
||||
# Extended globbing is needed to parse repository status.
|
||||
setopt local_options
|
||||
setopt extended_glob
|
||||
setopt LOCAL_OPTIONS
|
||||
setopt EXTENDED_GLOB
|
||||
|
||||
local action
|
||||
local action_format
|
||||
|
@ -186,7 +186,7 @@ if [[ $+functions[_zsh_highlight] -eq 0 ]]; then
|
||||
fi
|
||||
|
||||
function _history-substring-search-begin() {
|
||||
setopt localoptions extendedglob
|
||||
setopt LOCAL_OPTIONS EXTENDED_GLOB
|
||||
|
||||
_history_substring_search_move_cursor_eol=false
|
||||
_history_substring_search_query_highlight=
|
||||
@ -254,7 +254,7 @@ function _history-substring-search-begin() {
|
||||
}
|
||||
|
||||
function _history-substring-search-end() {
|
||||
setopt localoptions extendedglob
|
||||
setopt LOCAL_OPTIONS EXTENDED_GLOB
|
||||
|
||||
_history_substring_search_result=$BUFFER
|
||||
|
||||
|
@ -17,7 +17,7 @@ fi
|
||||
# Loads RVM into the shell session.
|
||||
if [[ -s "$HOME/.rvm/scripts/rvm" ]]; then
|
||||
# Auto adding variable-stored paths to ~ list conflicts with RVM.
|
||||
unsetopt auto_name_dirs
|
||||
unsetopt AUTO_NAME_DIRS
|
||||
|
||||
# Source RVM.
|
||||
source "$HOME/.rvm/scripts/rvm"
|
||||
|
Reference in New Issue
Block a user