1
0
Fork 0

Small update to bash configs

This commit is contained in:
Gregory Eremin 2023-02-14 11:04:37 +01:00
parent 5cbe2847b9
commit 83bdf6a9f3
3 changed files with 2 additions and 6 deletions

View File

@ -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 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 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 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 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. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -1,8 +1,6 @@
# Enable debug # Enable debug
# set -xv # set -xv
source /etc/profile
export TERM=xterm-256color export TERM=xterm-256color
export EDITOR=vim export EDITOR=vim
@ -10,7 +8,6 @@ export EDITOR=vim
export CLICOLOR=1 export CLICOLOR=1
export LSCOLORS=Exfxcxdxbxegedabagacad export LSCOLORS=Exfxcxdxbxegedabagacad
export EDITOR=vim export EDITOR=vim
export PROJECTS=$HOME/Code export PROJECTS=$HOME/Code

View File

@ -5,7 +5,7 @@ function __bash_prompt {
__window_title $baseDir __window_title $baseDir
# Define building blocks # 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 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_y_u_no_commit="$_MAGENTA$(__bash_git_y_u_no_commit_warn)$_RESET_COLOR"
local git_branch="$(__bash_prompt_git)" local git_branch="$(__bash_prompt_git)"