34 lines
922 B
Bash
34 lines
922 B
Bash
|
# .bashrc
|
||
|
|
||
|
# Source global definitions
|
||
|
if [ -f /etc/bashrc ]; then
|
||
|
. /etc/bashrc
|
||
|
fi
|
||
|
|
||
|
# User specific environment
|
||
|
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]; then
|
||
|
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
|
||
|
fi
|
||
|
export PATH
|
||
|
|
||
|
# Uncomment the following line if you don't like systemctl's auto-paging feature:
|
||
|
# export SYSTEMD_PAGER=
|
||
|
|
||
|
# User specific aliases and functions
|
||
|
if [ -d ~/.bashrc.d ]; then
|
||
|
for rc in ~/.bashrc.d/*; do
|
||
|
if [ -f "$rc" ]; then
|
||
|
. "$rc"
|
||
|
fi
|
||
|
done
|
||
|
fi
|
||
|
unset rc
|
||
|
export HSA_OVERRIDE_GFX_VERSION=11.0.0
|
||
|
export OLLAMA_HOST=https://ollama.jafner.net
|
||
|
export NVM_DIR="$HOME/.nvm"
|
||
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||
|
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||
|
export PYENV_ROOT="$HOME/.pyenv"
|
||
|
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
||
|
eval "$(pyenv init -)"
|