1
0
Fork 0
mirror of https://github.com/MillironX/dotfiles.git synced 2024-11-21 13:16:04 +00:00
dotfiles/executable_dot_bashrc.tmpl

27 lines
589 B
Cheetah

# shellcheck shell=bash
# .bashrc
if [ -f "$HOME/.modules" ]; then
source $HOME/.modules
fi
# Hook virtual environment modifers
source $HOME/.hooks
# User specific aliases and functions
source $HOME/.aliases
# >>> direnv initalize >>>
if [ $(command -v direnv) ]; then
eval "$(direnv hook bash)"
fi
# <<< direnv initalize <<<
source $HOME/.envvar
if [ $(command -v env_parallel.bash) ]; then
source $(which env_parallel.bash)
fi
# Make the prompt pretty, just in case we're stuck in bash land
export PS1="[\[\e[32m\]\u\[\e[m\]@\[\e[33m\]\h\[\e[m\] \[\e[34m\]\W\[\e[m\]] \\$ "