diff --git a/bash/.bashrc b/bash/.bashrc index a07abbf..74d0807 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -74,6 +74,9 @@ alias l="ls -CF" # sleep 10; alert alias alert='notify-send --urgency=normal -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' +# add alias for clear, makes it easier +alias cc="clear" + # Nice line headers for logs ERROR=$'\033[39;41mERROR:\033[0m' SUCCESS=$'\033[39;42mSUCCESS:\033[0m'