Skip to content

Commit

Permalink
fix: check for directory, not command (#991)
Browse files Browse the repository at this point in the history
  • Loading branch information
citrixscu authored Mar 2, 2024
1 parent 025b662 commit 56d68e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dx/usr/share/fish/vendor_conf.d/brew.fish
Original file line number Diff line number Diff line change
@@ -1 +1 @@
command -v brew >/dev/null 2>&1 && status --is-interactive && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
[ -d /home/linuxbrew/.linuxbrew ] && status --is-interactive && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"

0 comments on commit 56d68e9

Please sign in to comment.