summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc14
1 files changed, 9 insertions, 5 deletions
diff --git a/.bashrc b/.bashrc
index 3a30475..81da34f 100644
--- a/.bashrc
+++ b/.bashrc
@@ -2,16 +2,20 @@
# ~/.bashrc
#
-export LFS=/mnt/lfs
-
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
-export CC=/usr/bin/clang
-export CXX=/usr/bin/clang++
-fastfetch
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias project='. project'
PS1='\[\033[1;1m\]\u\[\033[00m\]@\[\033[34m\]\h \[\033[32m\]\w \[\033[35m\]$(git-ps1)\[\033[00m\]\$ '
+export CC=/usr/bin/clang
+export CXX=/usr/bin/clang++
+
+# Automatically added by the Guix install script.
+if [ -n "$GUIX_ENVIRONMENT" ]; then
+ if [[ $PS1 =~ (.*)"\\$" ]]; then
+ PS1="${BASH_REMATCH[1]} [env]\\\$ "
+ fi
+fi