diff options
Diffstat (limited to '.zsh/rc/10colors')
-rw-r--r-- | .zsh/rc/10colors | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/.zsh/rc/10colors b/.zsh/rc/10colors new file mode 100644 index 0000000..b43c4f1 --- /dev/null +++ b/.zsh/rc/10colors @@ -0,0 +1,42 @@ +#-------------------- +# Colors +#-------------------- +#use these in functions/shell scripts +export red='\e[0;31m' +export RED='\e[1;31m' +export green='\e[0;32m' +export GREEN='\e[1;32m' +export blue='\e[0;34m' +export BLUE='\e[1;34m' +export purple='\e[0;35m' +export PURPLE='\e[1;35m' +export cyan='\e[0;36m' +export CYAN='\e[1;36m' +export NC='\e[0m' + +# these are for use in PROMPT +fg_green=$'%{\e[0;32m%}' +fg_blue=$'%{\e[0;34m%}' +fg_cyan=$'%{\e[0;36m%}' +fg_red=$'%{\e[0;31m%}' +fg_brown=$'%{\e[0;33m%}' +fg_purple=$'%{\e[0;35m%}' +fg_light_gray=$'%{\e[0;37m%}' +fg_dark_gray=$'%{\e[1;30m%}' +fg_light_blue=$'%{\e[1;34m%}' +fg_light_green=$'%{\e[1;32m%}' +fg_light_cyan=$'%{\e[1;36m%}' +fg_light_red=$'%{\e[1;31m%}' +fg_light_purple=$'%{\e[1;35m%}' +fg_no_colour=$'%{\e[0m%}' +fg_white=$'%{\e[1;37m%}' +fg_black=$'%{\e[0;30m%}' + +# colors in framebuffer! +if [ "$TERM" = "linux" ]; then + ${HOME}/bin/parse_xdefaults.sh + clear #for background artifacting +fi + +# some better colors for ls +eval "`dircolors -b`"
\ No newline at end of file |