2023-01-10 22:28:10 +01:00
|
|
|
## -------------
|
|
|
|
## CUSTOM BASHRC
|
|
|
|
## -------------
|
2023-01-10 13:55:25 +01:00
|
|
|
|
|
|
|
# Adjust the prompt depending on whether we're in 'guix environment'.
|
|
|
|
if [ -n "$GUIX_ENVIRONMENT" ]
|
|
|
|
then
|
|
|
|
PS1='\[\033[01;31m\]\u\[\033[00m\]@\[\033[01;37m\]\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\] [env]\$ '
|
|
|
|
else
|
|
|
|
PS1='\[\033[01;31m\]\u\[\033[00m\]@\[\033[01;37m\]\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
|
|
|
|
fi
|
|
|
|
|
2023-06-02 23:32:07 +02:00
|
|
|
export BSD_GAMES_DIR=~/.local/share/bsd-games
|
|
|
|
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
|
|
|
|
export GITLAB_URL=https://git.a-lec.org
|
2023-06-12 23:49:44 +02:00
|
|
|
export GUIX_PACKAGE_PATH=~/.config/guix/packages/defs
|
2023-09-01 19:06:27 +02:00
|
|
|
export PATH=$PATH:~/Projets/GNU/gnulib/build-aux
|