1
0
Fork 0
mirror of https://github.com/MillironX/dotfiles.git synced 2024-12-04 18:19:54 +00:00
dotfiles/dot_profile

20 lines
478 B
Text
Raw Normal View History

2021-08-25 01:18:31 +00:00
# User specific environment
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]
then
2021-08-25 01:20:03 +00:00
export PATH="$HOME/.local/bin:$HOME/bin:$PATH"
2021-08-25 01:18:31 +00:00
fi
2021-08-25 01:16:48 +00:00
# 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