kontena / chpharos

Pharos version switcher
https://get.pharos.sh/
Apache License 2.0
3 stars 4 forks source link

Support FISH Shell #53

Closed techknowlogick closed 2 years ago

techknowlogick commented 5 years ago

I try to run:

brew install kontena/chpharos/chpharos
source /usr/local/opt/chpharos/share/chpharos/chpharos.sh

and I get the following error after trying to source the file:

/usr/local/opt/chpharos/share/chpharos/chpharos.sh (line 195): Expected end of the statement, but instead found a redirection
if command -v compgen &> /dev/null; then
                       ^
from sourcing file /usr/local/opt/chpharos/share/chpharos/chpharos.sh
    called on standard input

source: Error while reading file '/usr/local/opt/chpharos/share/chpharos/chpharos.sh'

Fish Shell: https://fishshell.com/