Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
moukoublen committed Apr 20, 2024
1 parent c3edfa9 commit b1402e0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 14 deletions.
3 changes: 2 additions & 1 deletion lib/00-homebrew.bash
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ if [[ "$(uname)" == "Linux" ]]; then
fi
done
fi
unset rc
fi

if [[ "$(uname)" == "Linux" ]]; then
if [[ "$(uname)" == "Darwin" ]]; then
#if command -v brew 1>/dev/null 2>&1; then
if [[ -d /opt/homebrew ]]; then
eval "$(/opt/homebrew/bin/brew shellenv)"
Expand Down
4 changes: 4 additions & 0 deletions lib/21-starship.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
if command -v starship &> /dev/null; then
export STARSHIP_CONFIG="${DOTFILES_PATH}/config/starship/starship.toml"
eval "$(starship init bash)"
fi
13 changes: 0 additions & 13 deletions root.bash
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,6 @@ do
fi
done

complete -c ww



if command -v starship &> /dev/null; then
export STARSHIP_CONFIG="${DOTFILES_PATH}/config/starship/starship.toml"
eval "$(starship init bash)"
else
source "${DOTFILES_PATH}/lib/root/ps1.bash"
fi



for e in "${HOME}"/.dotfiles-extras/*
do
source "${e}"
Expand Down

0 comments on commit b1402e0

Please sign in to comment.