Skip to content

Commit

Permalink
fix fish config to properly init fish shellenv (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjenni authored Jan 22, 2024
1 parent 63ec3e6 commit 9222501
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fish/config.fish
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ set -x EDITOR "nvim"

set fish_greeting ""


switch (uname)
case Linux
if test -d /home/linuxbrew/.linuxbrew/bin
Expand All @@ -18,7 +17,7 @@ switch (uname)
end
case Darwin
if test -d /opt/homebrew/bin
eval "$(brew shellenv)"
eval "$(/opt/homebrew/bin/brew shellenv)"
if test -x (brew --prefix)/bin/lesspipe.sh
set -x LESSOPEN "|lesspipe.sh %s"
end
Expand Down

0 comments on commit 9222501

Please sign in to comment.