Files
dotfiles/term/.bashrc
T
2026-04-23 16:54:08 +02:00

41 lines
992 B
Bash

#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
alias grep='grep --color=auto'
# PS1='[\u@\h \W]> '
if [ -f /usr/share/git/completion/git-prompt.sh ]; then
. /usr/share/git/completion/git-prompt.sh
fi
# Farben
RED="\[\e[31m\]"
GREEN="\[\e[32m\]"
BLUE="\[\e[34m\]"
YELLOW="\[\e[33m\]"
RESET="\[\e[0m\]"
# export PS1="${GREEN}\u@\h${RESET}:${BLUE}\w${YELLOW}"$(__git_ps1 ' (%s)')${RESET}'\n>'
# export PS1='\u@\h:\w$(__git_ps1 " (%s)")\$ '
# Git-Prompt Script laden (falls noch nicht geschehen)
# Farbige PS1, __git_ps1 wird bei jeder Ausgabe ausgewertet
export PS1='\[\e[32m\]\u@\h\[\e[0m\]:\[\e[34m\]\w\[\e[33m\]$(__git_ps1 " (%s)")\[\e[0m\]\n> '
if [ -f /usr/share/git/completion/git-prompt.sh ]; then
. /usr/share/git/completion/git-prompt.sh
fi
export DATAFLEX_BACKEND_REPO="/c/_Master/202602 DataFleX/repos/flexibility_platform_backend/"
export PATH="$HOME/.local/bin:$PATH"
. "$HOME/.cargo/env"