diff --git a/dot_profile b/dot_profile new file mode 100644 index 0000000..d386818 --- /dev/null +++ b/dot_profile @@ -0,0 +1,13 @@ +# Linuxbrew setup +if [ -d $HOME/../linuxbrew/.linuxbrew ]; then + BREWPATH=$HOME/../linuxbrew/.linuxbrew +elif [ -d $HOME/.linuxbrew ]; then + BREWPATH=$HOME/.linuxbrew +fi + +if [ -n "$BREWPATH" ]; then + if [[ "$SHELL" =~ "zsh" ]]; then + export fpath+=($BREWPATH/share/zsh/site-functions) + fi + eval "$($BREWPATH/bin/brew shellenv)" +fi diff --git a/dot_zprofile b/dot_zprofile new file mode 100644 index 0000000..70bd631 --- /dev/null +++ b/dot_zprofile @@ -0,0 +1 @@ +source $HOME/.profile diff --git a/executable_dot_bash_profile b/executable_dot_bash_profile new file mode 100644 index 0000000..70bd631 --- /dev/null +++ b/executable_dot_bash_profile @@ -0,0 +1 @@ +source $HOME/.profile diff --git a/executable_dot_zshrc b/executable_dot_zshrc index 1abf837..4dd8c59 100644 --- a/executable_dot_zshrc +++ b/executable_dot_zshrc @@ -80,11 +80,6 @@ unset __conda_setup eval "$(direnv hook zsh)" # <<< direnv initalize <<< -# >>> homebrew initalize >>> -export fpath=(/home/linuxbrew/.linuxbrew/share/zsh/site-functions $fpath) -eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" -# <<< homebrew initalize <<< - # Tell Antigen that you're done antigen apply