summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bashrc19
1 files changed, 15 insertions, 4 deletions
diff --git a/.bashrc b/.bashrc
index f7d8efd..cd1b64e 100644
--- a/.bashrc
+++ b/.bashrc
@@ -1,7 +1,7 @@
source ~/.shells/alias.sh
source ~/.shells/exports.sh
source /etc/profile
-export PATH=/home/$USER/.local/bin:$PATH
+
if [ -e /etc/profile.env ] ; then
. /etc/profile.env
@@ -14,12 +14,23 @@ done
## Prompt
if ${use_color} ; then
- PS1='\n\[\e[38;5;226m\]\w \[\e[38;5;63;1m\]$(git branch 2>/dev/null | grep '"'"'*'"'"' | colrm 1 2)\n\[\e[0;38;5;198m\]λ \[\e[0m\]'
+ PS1='PS1_CMD1=$(git branch 2>/dev/null | grep '"'"'"'"'"'"'"'"'*'"'"'"'"'"'"'"'"' | colrm 1 2)'; PS1='\n\[\e[38;5;153;2;3m\]\h\n\[\e[0;38;5;226m\]\w \[\e[38;5;63;1m\]${PS1_CMD1}\n\[\e[0;38;5;198m\]λ \[\e[0m\]'
else
PS1+='\u@\h \w \$ '
fi
-
-
## doas > sudo
complete -cf doas
+complete -cf sudo
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/.local/lib/mojo
+export PATH=$PATH:~/.modular/pkg/packages.modular.com_mojo/bin/
+export PATH=$PATH:~/.modular/pkg/packages.modular.com_mojo/bin/
+
+# Python
+eval "$(pyenv init -)"
+eval "$(pyenv virtualenv-init -)"
+if command -v pyenv 1>/dev/null 2>&1; then
+ eval "$(pyenv init -)"
+fi
+export PYENV_ROOT="$HOME/.pyenv"
+export PATH="$PYENV_ROOT/bin:$PATH"