summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zshrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index 9cb594e..37652a8 100644
--- a/.zshrc
+++ b/.zshrc
@@ -102,6 +102,11 @@ case `hostname` in
PROMPT="[%m:%~]%{$fg[$HOSTCOLOR]%}%B%%%b%{$reset_color%} "
;;
x)
+ alias c++='/usr/lib/colorgcc/bin/g++ -march=native -mtune=native -O2 -pipe -fomit-frame-pointer -Wall'
+ alias cc='/usr/lib/colorgcc/bin/gcc -march=native -mtune=native -O2 -pipe -fomit-frame-pointer -Wall'
+ alias cpp='c++'
+ alias g++='c++'
+ alias gcc='cc'
PROMPT="[%~]%{$fg[magenta]%}$B%%%b%{$reset_color%} "
;;
esac