Browse Source

Fix global typesets

Without the '-g' switch, typesets are always declared locally.
master
Sorin Ionescu 13 years ago
parent
commit
391598716b
  1. 4
      environment.zsh
  2. 2
      keyboard.zsh
  3. 2
      spectrum.zsh

4
environment.zsh

@ -23,8 +23,8 @@ unsetopt HUP # Don't kill jobs on shell exit. @@ -23,8 +23,8 @@ unsetopt HUP # Don't kill jobs on shell exit.
unsetopt CHECK_JOBS # Don't report on jobs when shell exit.
# PATH
typeset -U cdpath fpath mailpath manpath path
typeset -UT INFOPATH infopath
typeset -gU cdpath fpath mailpath manpath path
typeset -gUT INFOPATH infopath
cdpath=(
$HOME

2
keyboard.zsh

@ -30,7 +30,7 @@ zle -N edit-command-line @@ -30,7 +30,7 @@ zle -N edit-command-line
# Use human-friendly identifiers.
zmodload zsh/terminfo
typeset -g -A keyinfo
typeset -gA keyinfo
keyinfo=(
'Control' '\C-'
'Escape' '\e'

2
spectrum.zsh

@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
typeset -Ag FX FG BG
typeset -gA FX FG BG
FX=(
none "\e[00m"

Loading…
Cancel
Save