-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bashrc
More file actions
23 lines (17 loc) · 742 Bytes
/
.bashrc
File metadata and controls
23 lines (17 loc) · 742 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# shellcheck disable=SC2148
# shellcheck disable=SC1091
# Fix to prevent LMStudio polluting my dotfiles at every start
# https://github.com/lmstudio-ai/lmstudio-bug-tracker/issues/656#issuecomment-2938234807
# /Users/pco/.lmstudio/bin
# source profile
if [ -f "${HOME}/.profile" ]; then
source "${HOME}/.profile"
fi
if [ -f "${HOMEBREW_PREFIX}/etc/profile.d/bash_completion.sh" ]; then
export BASH_COMPLETION_DIR_PATH="$HOMEBREW_PREFIX/etc/bash_completion.d"
# create bash podman autocompletion
if (command -v podman >/dev/null 2>&1) && [ ! -f "${BASH_COMPLETION_DIR_PATH}/_podman" ]; then
podman completion bash > "${BASH_COMPLETION_DIR_PATH}/_podman"
fi
source "${HOMEBREW_PREFIX}/etc/profile.d/bash_completion.sh"
fi