#!/bin/bash export HISTCONTROL=ignorespace export HISTFILE=/home/dvorka/p/hstr/monster/.bash_history_50M #export HISTFILE=/home/dvorka/p/hstr/monster/.bash_history_23M #export HISTFILE=/home/dvorka/p/hstr/monster/.bash_history_500k #export HISTFILE=/home/dvorka/p/hstr/monster/.bash_history export HISTFILESIZE=10000000 export HISTSIZE=1000000 PS1="\$? \$(if [[ \$? == 0 ]]; then echo \"\[\033[0;32m\];)\"; else echo \"\[\033[0;31m\];(\"; fi)\[\033[00m\] : " # eof