From 7bece0cbd73f6973461a3bbc261b10664924e869 Mon Sep 17 00:00:00 2001 From: Daniil Tsivinsky Date: Wed, 20 Oct 2021 14:44:44 +0300 Subject: [PATCH] Add custom bash prompt --- .bashrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.bashrc b/.bashrc index 3292427..5a4c278 100644 --- a/.bashrc +++ b/.bashrc @@ -46,6 +46,10 @@ source /usr/share/doc/pkgfile/command-not-found.bash shopt -s autocd +_GREEN="\[\033[32m\]" +_BLUE="\[\033[34m\]" +_RESET="\[\033[0m\]" +export PS1="${_GREEN}\u@\h${_RESET}:${_BLUE}\W${_RESET} # " # ____ ___ __ __ ____ _ _____ _____ ___ ___ _ _