# # ~/.bashrc # [ "$(uname)" = Darwin ] && source "$HOME/.macos" source "$HOME/.env" source "$HOME/.path" # If not running interactively, don't do anything [[ $- != *i* ]] && return PS1='[\u@\h \W]\$ ' source "$HOME/.aliases" source "$HOME/.fzfrc" if command -v fish > /dev/null; then __FISH_IS_ACTIVE=${__FISH_IS_ACTIVE:-0} if [[ -z ${BASH_EXECUTION_STRING} && $__FISH_IS_ACTIVE -eq 0 ]] then shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION='' exec env __FISH_IS_ACTIVE=1 fish $LOGIN_OPTION fi export __FISH_IS_ACTIVE=0 fi