mirror of
https://github.com/akelge/vim
synced 2025-08-16 15:48:40 +00:00
Light changes to prompt
files with .off extension are ignored Disabled coreutils and dsFunctions on Darwin
This commit is contained in:
15
zsh/zsh.d/20-termcolors
Normal file
15
zsh/zsh.d/20-termcolors
Normal file
@ -0,0 +1,15 @@
|
||||
#######################################################################################
|
||||
# Colorize terminal
|
||||
autoload colors zsh/terminfo
|
||||
if [[ "$terminfo[colors]" -ge 8 ]]; then
|
||||
colors
|
||||
fi
|
||||
for color in RED GREEN YELLOW BLUE MAGENTA CYAN WHITE; do
|
||||
eval PR_$color='%{$terminfo[bold]$fg[${(L)color}]%}'
|
||||
eval PR_LIGHT_$color='%{$fg[${(L)color}]%}'
|
||||
# (( count = $count + 1 ))
|
||||
done
|
||||
PR_NO_COLOR="%{$terminfo[sgr0]%}"
|
||||
|
||||
unset color
|
||||
# vim: set ts=4 sw=4 tw=0 ft=zsh :
|
Reference in New Issue
Block a user