blob: 999df4eb49574818d8c8dcfb79e0f47c2ef2ac85 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#
# ~/.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
|