From 09737b1af887e0b506801e9942787e6c820252c9 Mon Sep 17 00:00:00 2001 From: 7032 <7032@noreply.localhost> Date: Sun, 10 Mar 2024 22:56:14 +0100 Subject: [PATCH] =?UTF-8?q?T=C3=A9l=C3=A9verser=20les=20fichiers=20vers=20?= =?UTF-8?q?"/"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .bashrc | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .bashrc diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..b53f1bb --- /dev/null +++ b/.bashrc @@ -0,0 +1,23 @@ +## ------------- +## CUSTOM BASHRC +## ------------- + +# 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 + +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 GUIX_PACKAGE_PATH=~/.config/guix/packages/defs +export PATH=$PATH:/home/Larry/.local/bin + +unset SSH_AGENT_PID +if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then + export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)" +fi + +