mirror of
https://github.com/sebaschi/dotfiles.git
synced 2025-11-08 16:14:27 +01:00
68 lines
1.5 KiB
Bash
68 lines
1.5 KiB
Bash
fastfetch
|
|
|
|
# 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
|
|
|
|
if ! source /home/slnopriv/alacritty/extra/completions/alacritty.bash; then
|
|
echo "Failed to source alacritty completions"
|
|
fi
|
|
eval "$(starship init bash)"
|
|
|
|
# >>> conda initialize >>>
|
|
# !! Contents within this block are managed by 'conda init' !!
|
|
__conda_setup="$('/home/slnopriv/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
|
|
if [ $? -eq 0 ]; then
|
|
eval "$__conda_setup"
|
|
else
|
|
if [ -f "/home/slnopriv/anaconda3/etc/profile.d/conda.sh" ]; then
|
|
. "/home/slnopriv/anaconda3/etc/profile.d/conda.sh"
|
|
else
|
|
export PATH="/home/slnopriv/anaconda3/bin:$PATH"
|
|
fi
|
|
fi
|
|
unset __conda_setup
|
|
# <<< conda initialize <<<
|
|
#Source aliases
|
|
source ~/.bash_aliases
|
|
source ~/.fedora_aliases
|
|
export PATH="~/scripts:$PATH"
|
|
# Souecw functions
|
|
source ~/.bash_functions
|
|
|
|
|
|
# !! Contents within this block are managed by juliaup !!
|
|
|
|
case ":$PATH:" in
|
|
*:/home/slnopriv/.juliaup/bin:*)
|
|
;;
|
|
|
|
*)
|
|
export PATH=/home/slnopriv/.juliaup/bin${PATH:+:${PATH}}
|
|
;;
|
|
esac
|
|
|
|
# <<< juliaup initialize <<<
|