安装使用fish

安装

$ brew install fish

设置fish为默认shell

要执行上面的命令,首先把fish加入到/etc/shells文件里:

设置命令:

$ chsh -s $(which fish)

完成后退出terminal重新开启进入fish环境:

使用fish_config进行配置:

$ fish_config

安装fisher

$ curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fish

安装sdkman模块

$ fisher add reitzig/sdkman-for-fish@v1.4.0

如果环境中没有sdkman,选择y安装好。

安装nvm模块

$ fisher add jorgebucaran/fish-nvm

My Github Page: https://github.com/liweinan

Powered by Jekyll and Theme by solid

If you have any question want to ask or find bugs regarding with my blog posts, please report it here:
https://github.com/liweinan/liweinan.github.io/issues