Fix global typesets
Without the '-g' switch, typesets are always declared locally.
This commit is contained in:
parent
9155aea2db
commit
391598716b
|
@ -23,8 +23,8 @@ unsetopt HUP # Don't kill jobs on shell exit.
|
||||||
unsetopt CHECK_JOBS # Don't report on jobs when shell exit.
|
unsetopt CHECK_JOBS # Don't report on jobs when shell exit.
|
||||||
|
|
||||||
# PATH
|
# PATH
|
||||||
typeset -U cdpath fpath mailpath manpath path
|
typeset -gU cdpath fpath mailpath manpath path
|
||||||
typeset -UT INFOPATH infopath
|
typeset -gUT INFOPATH infopath
|
||||||
|
|
||||||
cdpath=(
|
cdpath=(
|
||||||
$HOME
|
$HOME
|
||||||
|
|
|
@ -30,7 +30,7 @@ zle -N edit-command-line
|
||||||
|
|
||||||
# Use human-friendly identifiers.
|
# Use human-friendly identifiers.
|
||||||
zmodload zsh/terminfo
|
zmodload zsh/terminfo
|
||||||
typeset -g -A keyinfo
|
typeset -gA keyinfo
|
||||||
keyinfo=(
|
keyinfo=(
|
||||||
'Control' '\C-'
|
'Control' '\C-'
|
||||||
'Escape' '\e'
|
'Escape' '\e'
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||||||
#
|
#
|
||||||
|
|
||||||
typeset -Ag FX FG BG
|
typeset -gA FX FG BG
|
||||||
|
|
||||||
FX=(
|
FX=(
|
||||||
none "\e[00m"
|
none "\e[00m"
|
||||||
|
|
Loading…
Reference in a new issue