-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_bash_profile
75 lines (61 loc) · 1.94 KB
/
dot_bash_profile
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
if [ -f "/opt/homebrew/bin/brew" ];
then
eval "$(/opt/homebrew/bin/brew shellenv)"
elif [ -f "/usr/local/bin/brew" ];
then
eval "$(/usr/local/bin/brew shellenv)"
fi
#export PATH=/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/MacGPG2/bin:/Library/TeX/texbin
if type brew &>/dev/null; then
HOMEBREW_PREFIX="$(brew --prefix)"
if [[ -r "${HOMEBREW_PREFIX}/etc/profile.d/bash_completion.sh" ]]; then
source "${HOMEBREW_PREFIX}/etc/profile.d/bash_completion.sh"
else
for COMPLETION in "${HOMEBREW_PREFIX}/etc/bash_completion.d/"*; do
[[ -r "$COMPLETION" ]] && source "$COMPLETION"
done
fi
fi
#if [ -f "/opt/homebrew/opt/bash-git-prompt/share/gitprompt.sh" ]; then
# _GIT_PROMPT_DIR="/opt/homebrew/opt/bash-git-prompt/share"
# source "/opt/homebrew/opt/bash-git-prompt/share/gitprompt.sh"
#fi
# Testing Starship https://starship.rs/
eval "$(starship init bash)"
if [ -d "/opt/homebrew/opt/openjdk/bin" ];
then
export PATH="/opt/homebrew/opt/openjdk/bin:$PATH"
fi
export PATH="$PATH:/Users/lazzurs/opt/flutter/bin"
export GEM_HOME="$HOME/.gem"
export PATH="$GEM_HOME/bin:$PATH"
if [ -d $HOME/bin ];
then
export PATH="$HOME/bin:$PATH"
fi
# Add local go bin to path
if [ -d $HOME/go/bin ];
then
export PATH="$HOME/go/bin:$PATH"
fi
# Added by Toolbox App
if [ -d "/Users/lazzurs/Library/Application Support/JetBrains/Toolbox/scripts" ];
then
export PATH="$PATH:/Users/lazzurs/Library/Application Support/JetBrains/Toolbox/scripts"
fi
# bash-preexec
if [ -f /opt/homebrew/etc/profile.d/bash-preexec.sh ];
then
. /opt/homebrew/etc/profile.d/bash-preexec.sh
fi
# Bash Line editor https://github.com/akinomyoga/ble.sh
if [ -f ~/.local/share/blesh/ble.sh ]; then
source ~/.local/share/blesh/ble.sh
fi
# Atuin
if [ -f "$HOME/.atuin/bin/env" ]; then
. "$HOME/.atuin/bin/env"
fi
eval "$(atuin init bash)"
# Added by LM Studio CLI (lms)
export PATH="$PATH:/Users/lazzurs/.cache/lm-studio/bin"