updated on Sat Jan 21 16:18:39 UTC 2012
[aur-mirror.git] / cw / cw.install
blobbf0219bb7e76b56cf759ae81e744f4acde9cccab
1 post_install () {
2   echo -e "\033[32;1m==>\033[0m \033[1mUpdating definition files...\033[0m"
3   /usr/bin/cwu /usr/lib/cw /usr/bin/cw > /dev/null 
5   echo -e ""
6   echo -e "Complete, definitions are stored in: /usr/lib/cw"
7   echo -e "\033[1mFor bash:\033[0m place 'export PATH=\"/usr/lib/cw:\$PATH\"'"
8   echo -e "at the end of ~/.bash_profile(or /etc/profile globally)"
9   echo  -e ""
10   echo -e "\033[1mFor tcsh:\033[0m place 'setenv PATH \"/usr/lib/cw:\$PATH\"'"
11   echo -e "at the end of ~/.login(or /etc/csh.login globally)"
12   echo -e ""
13   echo -e "\033[1mFor zsh:\033[0m place:"
14   echo -e "'export PATH=\"/usr/lib/cw:\$PATH\"'"
15   echo -e "at the end of ~/.zshrc(or /etc/zprofile globally)"
16   echo -e ""
17   echo -e "Or to automate the two lines above use the "colorcfg" command."
18   echo -e "(and add optional anti-coloring precautions)"
19   echo -e "Once the desired shell(s) are setup, use the "color" command,"
20   echo -e "or the environmental variable NOCOLOR=1 to turn"
21   echo -e "color wrapping on and off."
24 post_upgrade() {
25   post_install