I'm currently playing around with the fish shell and I'm having some trouble wrapping my head around how the
➜ fish echo $PATH
/usr/local/bin /usr/bin /bin /usr/sbin /sbin /usr/local/bin /opt/X11/bin /usr/texbin /Users/myname/.opam/system/bin
set PATH /usr/local/bin $PATH /Users/myname/.opam/system/bin
set -U fish_user_paths /usr/local/bin $fish_user_paths
This will add
/usr/local/bin permanently to your path.