From bd3882a2ea5a692afe2251f95853660335eab36e Mon Sep 17 00:00:00 2001 From: jc <46619361+juancwu@users.noreply.github.com> Date: Mon, 10 Jun 2024 12:14:47 -0400 Subject: [PATCH] add alias for clear cmd --- bash/.bashrc | 3 +++ 1 file changed, 3 insertions(+) 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'