From eb8ea3549718effbee7402aa5a588775d354d0eb Mon Sep 17 00:00:00 2001 From: 7032 <7032@noreply.localhost> Date: Tue, 2 Jan 2024 12:54:56 +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 --- .bash_profile | 7 +++++++ .bashrc | 23 +++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 .bash_profile create mode 100644 .bashrc diff --git a/.bash_profile b/.bash_profile new file mode 100644 index 0000000..81afb5d --- /dev/null +++ b/.bash_profile @@ -0,0 +1,7 @@ +## ------------------- +## CUSTOM BASH_PROFILE +## ------------------- + +export XDG_DATA_DIRS="$XDG_DATA_DIRS:/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share:$HOME/.local/share/applications" +export LV2_PATH="~/.guix-profile/lib/lv2" + 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 + +