configurations-guix/.bashrc

18 lines
657 B
Bash
Raw Normal View History

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
export GUIX_PACKAGE_PATH=~/.config/guix/packages/defs
export PATH=$PATH:~/Projets/GNU/gnulib/build-aux