some bash tweaks
This commit is contained in:
+30
-12
@@ -1,5 +1,3 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# ~/.bashrc
|
# ~/.bashrc
|
||||||
#
|
#
|
||||||
@@ -9,14 +7,34 @@
|
|||||||
|
|
||||||
alias ls='ls --color=auto'
|
alias ls='ls --color=auto'
|
||||||
alias grep='grep --color=auto'
|
alias grep='grep --color=auto'
|
||||||
PS1='[\u@\h \W]\$ '
|
# 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"
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
|
. "$HOME/.cargo/env"
|
||||||
# local ai
|
|
||||||
export ROCM_PATH=/opt/rocm
|
|
||||||
export HSA_OVERRIDE_GFX_VERSION=11.0.0
|
|
||||||
export HIP_VISIBLE_DEVICES=0
|
|
||||||
|
|
||||||
# Tmuxifier
|
|
||||||
export PATH="$HOME/.tmuxifier/bin:$PATH"
|
|
||||||
eval "$(tmuxifier init -)"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user