Commit 39c0091

mo khan <mo@mokhan.ca>
2021-08-17 20:28:54
refactor: replace bash_profile with profile
1 parent 1ec600b
Changed files (3)
script/setup
@@ -36,7 +36,6 @@ git submodule update --init
 dotdir "vim"
 dotfile "ackrc"
 dotfile "agignore"
-dotfile "bash_profile"
 dotfile "bashrc"
 dotfile "ctags"
 dotfile "curlrc"
bash_profile
@@ -1,2 +0,0 @@
-source ~/.profile
-source ~/.bashrc
profile
@@ -1,4 +1,3 @@
-
 export DEBEMAIL=mo@mokhan.ca
 export DEBFULLNAME="mo khan"
 export DOTNET_CLI_TELEMETRY_OPTOUT='1'
@@ -15,3 +14,5 @@ export LSCOLORS='gxfxcxdxbxegedabagacad'
 export MANPAGER=/usr/bin/less
 export PAGER=/usr/bin/less
 export VISUAL="vim"
+
+[ -n "$BASH_VERSION" ] && [ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc"