From aee922f5c823bd5f4a30e78b911c3a30aa75ff5e Mon Sep 17 00:00:00 2001 From: Daniil Tsivinsky Date: Sun, 17 Oct 2021 18:52:11 +0300 Subject: [PATCH] Customize the prompt --- .bashrc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.bashrc b/.bashrc index 3292427..2a070a5 100644 --- a/.bashrc +++ b/.bashrc @@ -46,6 +46,13 @@ source /usr/share/doc/pkgfile/command-not-found.bash shopt -s autocd +_GREEN=$(tput setaf 2) +_BLUE=$(tput setaf 4) +_RED=$(tput setaf 1) +_RESET=$(tput sgr0) +_BOLD=$(tput bold) +export PS1="${_GREEN}${_BOLD}\u@\h${_RESET}:${_BLUE}${_BOLD}\W${_RESET}# " + # ____ ___ __ __ ____ _ _____ _____ ___ ___ _ _