#setenv MYPROMPT `whoami`@`hostname -s`:`/bin/pwd`

setenv MYPROMPT '4ch'

setenv AVSYS_SUPPORT_4CH_VDEC   1

#alias   cd  'cd \!*;set prompt="\! `/bin/uname -n`(`echo $APOS_TARGET`)`/bin/pwd`> "'

#alias   cd  'cd \!*;set prompt="\! `/bin/uname -n`(`echo test`)`/bin/pwd`> "'

#alias   cd  'cd \!*;set prompt=$MYPROMPT'


#alias   cd  'cd \!*;set prompt="\! `/bin/uname -n`(`echo $APOS_TARGET-$MYPROMPT`)`/bin/pwd`> "'

alias   cd  'cd \!*;set prompt="\! %{\e[32;1m%}`/bin/uname -n`(`echo $APOS_TARGET-$MYPROMPT`)%{\e[0m%}`/bin/pwd`> "'




http://stackoverflow.com/questions/12063225/how-to-color-a-prompt-on-freebsd-cshrc

platform


건전한 공정한 유통망/시장

이라면 많은 사람들이 찾아오겠지






http://stackoverflow.com/questions/2410976/how-to-define-a-string-in-gcc-command-line




to avoid the shell "eating" the quotes and other characters, you might try single quotes, like this:

gcc -o test test.cpp -DNAME='"Mary"'

This way you have full control what is defined (quotes, spaces, special characters, and all).

share|improve this answer

+ Recent posts