From abfa93f1a405aa4d097af486f717b11fd0805e23 Mon Sep 17 00:00:00 2001 From: pztrn Date: Fri, 25 Dec 2015 23:09:27 +0500 Subject: [PATCH] Make ZSH colors array be available everywhere. --- zsh/02-colors.zsh | 2 ++ zsh/apps/colors.app.zsh | 4 ---- zsh/prompts/pztrn.zsh | 2 -- zshrc | 2 -- 4 files changed, 2 insertions(+), 8 deletions(-) create mode 100644 zsh/02-colors.zsh delete mode 100644 zsh/apps/colors.app.zsh diff --git a/zsh/02-colors.zsh b/zsh/02-colors.zsh new file mode 100644 index 0000000..a03ff50 --- /dev/null +++ b/zsh/02-colors.zsh @@ -0,0 +1,2 @@ +autoload -U colors +colors diff --git a/zsh/apps/colors.app.zsh b/zsh/apps/colors.app.zsh deleted file mode 100644 index 3d30631..0000000 --- a/zsh/apps/colors.app.zsh +++ /dev/null @@ -1,4 +0,0 @@ -function main() -{ - // -} diff --git a/zsh/prompts/pztrn.zsh b/zsh/prompts/pztrn.zsh index b587fce..b60dc3a 100644 --- a/zsh/prompts/pztrn.zsh +++ b/zsh/prompts/pztrn.zsh @@ -16,8 +16,6 @@ prompt_pztrn_setup () { local p_date p_tty p_plat p_userpwd p_shlvlhist p_rc p_end p_win p_path - autoload -U colors - colors # Session-dependend colorizing. # Local will be black, remote - yellow. diff --git a/zshrc b/zshrc index 429669d..224066f 100644 --- a/zshrc +++ b/zshrc @@ -35,5 +35,3 @@ else fi set -B - -