当前位置: 首页 > 工具软件 > DFish > 使用案例 >

/usr/local/share/fish/vendor_completions.d is not writable

富勇军
2023-12-01

在执行brew link carthage时,报错 如下

Linking /usr/local/Cellar/carthage/0.35.0... 
Error: Could not symlink share/fish/vendor_completions.d/carthage.fish
/usr/local/share/fish/vendor_completions.d is not writable.

解决办法:
1.

sudo chown -R $(whoami) /usr/local/share/fish/vendor_completions.d
sudo chmod u+rw /usr/local/share/fish/vendor_completions.d

再执行brew link carthage即可

 类似资料: