This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stty stop ^J # use ctrl+j to stop terminal output, enabling you to use forward search using ctrl+s | |
S1='\[\e[0;31m\]\u\[\e[m\] $ ' | |
function cecho () { | |
echo -en '\E[0;32m'; | |
echo -en $1; | |
echo; | |
tput sgr0; |