1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-13 20:19:03 -08:00
rc/sh/subdue

35 lines
928 B
Text
Raw Normal View History

#!/usr/bin/env sh
# compat: +ash +bash +dash +zsh
__subdue() { ### @subdue
### reconfigure your terminal's color scheme using a preset for [recolor.](#recolor)
__recolor_install
ForegroundColour '#ECECEC'
BackgroundColour '#111111'
CursorColour '#F9F9F9'
Black '#111111'
Red '#B62A1F'
Green '#41B43C'
Blue '#1D52E1'
Yellow '#ED9433'
Cyan '#40ADAC'
Magenta '#BA3CB9'
White '#BDBDBD'
BoldBlack '#747474'
BoldRed '#F43E31'
BoldGreen '#4FEB49'
BoldBlue '#4391F9'
BoldYellow '#F4F415'
BoldCyan '#3AF5F4'
BoldMagenta '#E84EE6'
BoldWhite '#ECECEC'
}
subdue()(__subdue "$@")
[ -n "${preload+-}" ] || . ~/sh/preload || exit 2
eval ${preload:-preload} recolor
[ -n "${preload+-}" ] || __subdue "$@"