Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 76e2cbe4 authored by Idriss's avatar Idriss
Browse files

Improve bash config

parent cf653232
No related branches found
No related tags found
No related merge requests found
......@@ -23,5 +23,6 @@ code-server:
- ci/docker-deliver.sh
- docker-compose-build.yml
- Dockerfile
- bash_config.sh
tags:
- imagesbuilder
......@@ -10,7 +10,7 @@ alias docker='sudo docker'
alias docker-compose='sudo docker-compose'
alias k3d='sudo k3d'
BLUE="\033[1;36m"
CYAN="\033[1;36m"
YELLOW="\033[1;33m"
GREEN="\033[1;32m"
PURPLE="\033[1;35m"
......@@ -33,4 +33,4 @@ function parse_git_branch () {
ggit branch --no-color | sed -e '/^[^*]/d' -e "s/^* \(.*\)/\1$(parse_git_dirty)/"
}
export PS1="\[${YELLOW}\]\u\[$WHITE\]@\[$BLUE\]\h\[$WHITE\]\$([[ -n \$(ggit branch) ]] && echo \" on \")\[$PURPLE\]\$(parse_git_branch) \[$GREEN\]\w\[$WHITE\] $(ggit describe)$ "
export PS1="\[${YELLOW}\]\u\[$WHITE\]@\[$CYAN\]\h\[$WHITE\]\$([[ -n \$(ggit branch) ]] && echo \" on \")\[$PURPLE\]\$(parse_git_branch) \[$GREEN\]\w\[$WHITE\] $(ggit describe)$ "
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment