From 83bdf6a9f3bda561db034010ed0ec6dd19f7f685 Mon Sep 17 00:00:00 2001 From: Gregory Eremin Date: Tue, 14 Feb 2023 11:04:37 +0100 Subject: [PATCH] Small update to bash configs --- LICENSE | 3 +-- bash/bashrc.sh | 3 --- bash/prompt.sh | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/LICENSE b/LICENSE index 5f97681..ec70f7c 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright 2020 Gregory Eremin +Copyright 2023 Gregory Eremin Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in @@ -16,4 +16,3 @@ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - diff --git a/bash/bashrc.sh b/bash/bashrc.sh index f6e0bb2..a128475 100644 --- a/bash/bashrc.sh +++ b/bash/bashrc.sh @@ -1,8 +1,6 @@ # Enable debug # set -xv -source /etc/profile - export TERM=xterm-256color export EDITOR=vim @@ -10,7 +8,6 @@ export EDITOR=vim export CLICOLOR=1 export LSCOLORS=Exfxcxdxbxegedabagacad - export EDITOR=vim export PROJECTS=$HOME/Code diff --git a/bash/prompt.sh b/bash/prompt.sh index 6b4655d..261bc5a 100644 --- a/bash/prompt.sh +++ b/bash/prompt.sh @@ -5,7 +5,7 @@ function __bash_prompt { __window_title $baseDir # Define building blocks - local userhost="$_BOLD$_BLUE\u@\h$_RESET_COLOR$_RESET" + local userhost="$_BOLD$_BLUE\u$_CYAN@\h$_RESET_COLOR$_RESET" local basedir="$_BOLD$_GREEN\W$_RESET_COLOR$_RESET" local git_y_u_no_commit="$_MAGENTA$(__bash_git_y_u_no_commit_warn)$_RESET_COLOR" local git_branch="$(__bash_prompt_git)"