#!/bin/bash alias c="cmake .." alias m="make -j2" # use -j (without number) if you want make to autodetect the number of cores alias t="make test" alias commit="svn commit .." alias cd="#" # avoid change the directory... export LANG="C" # needed for most projects export PATH=./bin/:$PATH export PS1='\A \e[0;31m[\e[1;32mCMAKE\e[0;31m]\e[0;0m \w \e[0;32m#######################\n\e[1;34m$\e[0;0m ' help () { echo "PpluX's cmake aliases:" echo echo 'c -> executes "cmake .."' echo 'm -> executes "make -j2"' echo 't -> executes "make test"' echo 'commit -> executes "svn commit .."' echo echo 'notes:' echo ' - LANG="C"' echo ' - your path includes ./bin' echo ' - "cd" (internal command) is disabled' echo } clear echo "type 'help' to remember the aliases."