summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorJackJ30 <jackqjamison@gmail.com>2025-03-31 02:15:31 -0400
committerJackJ30 <jackqjamison@gmail.com>2025-03-31 02:15:31 -0400
commitb9798394f5b85dc053ae8cfe7170b581cf379087 (patch)
treea295c1a67d85bd5a6709c91626bb4543985b7bd3 /.bashrc
parent9359d435fc913f1ad84840db316568cfb3e946d2 (diff)
newfig
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