.bashrc
Die aktuelle .bashrc mit automatischen Anpassungen von miniconda.
# .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
PATH=$PATH:$HOME/.cargo/bin:$HOME/bin/yazi-x86_64-unknown-linux-gnu
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
alias smm='pushd /mnt/Games/SFMM && java -jar starfield-mod-manager.jar; popd'
## >>> conda initialize >>>
## !! Contents within this block are managed by 'conda init' !!
#__conda_setup="$('/home/ph0lk3r/miniconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
#if [ $? -eq 0 ]; then
# eval "$__conda_setup"
#else
# if [ -f "/home/ph0lk3r/miniconda3/etc/profile.d/conda.sh" ]; then
# . "/home/ph0lk3r/miniconda3/etc/profile.d/conda.sh"
# else
# export PATH="/home/ph0lk3r/miniconda3/bin:$PATH"
# fi
#fi
#unset __conda_setup
# <<< conda initialize <<<
eval "$(thefuck --alias)"