Skip to content

Commit

Permalink
fix: check for directory, not command (ublue-os#980)
Browse files Browse the repository at this point in the history
  • Loading branch information
bketelsen authored Feb 29, 2024
1 parent 54abd5f commit eef41a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/etc/profile.d/brew.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[[ $(command -v brew >/dev/null 2>&1) && $- == *i* ]] && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
[[ -d /home/linuxbrew/.linuxbrew && $- == *i* ]] && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"

0 comments on commit eef41a5

Please sign in to comment.