diff options
author | root <root@rshg054.dnsready.net> | 2012-11-14 01:13:06 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-11-14 01:13:06 -0800 |
commit | 6fa5f08247aef1f757f376ef12bd4a6257c124f2 (patch) | |
tree | b743d1e7cbc92a595661ecd730522cee45ebcabe /pcr/cw/cw.install | |
parent | a29329c38e50afd28d28c3a99e35d8774b9b19f8 (diff) |
Wed Nov 14 01:13:05 PST 2012
Diffstat (limited to 'pcr/cw/cw.install')
-rw-r--r-- | pcr/cw/cw.install | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pcr/cw/cw.install b/pcr/cw/cw.install new file mode 100644 index 000000000..bf0219bb7 --- /dev/null +++ b/pcr/cw/cw.install @@ -0,0 +1,26 @@ +post_install () { + echo -e "\033[32;1m==>\033[0m \033[1mUpdating definition files...\033[0m" + /usr/bin/cwu /usr/lib/cw /usr/bin/cw > /dev/null + + echo -e "" + echo -e "Complete, definitions are stored in: /usr/lib/cw" + echo -e "\033[1mFor bash:\033[0m place 'export PATH=\"/usr/lib/cw:\$PATH\"'" + echo -e "at the end of ~/.bash_profile(or /etc/profile globally)" + echo -e "" + echo -e "\033[1mFor tcsh:\033[0m place 'setenv PATH \"/usr/lib/cw:\$PATH\"'" + echo -e "at the end of ~/.login(or /etc/csh.login globally)" + echo -e "" + echo -e "\033[1mFor zsh:\033[0m place:" + echo -e "'export PATH=\"/usr/lib/cw:\$PATH\"'" + echo -e "at the end of ~/.zshrc(or /etc/zprofile globally)" + echo -e "" + echo -e "Or to automate the two lines above use the "colorcfg" command." + echo -e "(and add optional anti-coloring precautions)" + echo -e "Once the desired shell(s) are setup, use the "color" command," + echo -e "or the environmental variable NOCOLOR=1 to turn" + echo -e "color wrapping on and off." +} + +post_upgrade() { + post_install +} |