OS X에서 Fish 쉘을 사용하여 경로 변수를 엉망으로 만들었습니다. $PATH
의 변수가 올바른 가요 config.fish
?
user@host ~> more ~/.config/fish/config.fish
set -g -x PATH /usr/local/bin $PATH
set -g -x fish_greeting 'Welcome to fish shell, Ansel'
user@host ~> more /etc/paths
/usr/bin
/bin
/usr/sbin
/sbin
/usr/local/bin
e202414@TWC-MACS1DF91 ~> echo $PATH
/usr/local/bin /usr/bin /bin /usr/sbin /sbin /usr/local/bin /usr/bin /bin /usr/sbin /sbin /usr/local/bin /opt/X11/bin