tiyan 发表于 2019-2-19 08:51:03

9、Ubuntu fish

http://s1.运维网.com/images/20180414/1523703984781549.png

  Fish,友好的交互式 shellFriendly Interactive SHell 的缩写,它是一个适于装备于类 Unix 系统的智能而用户友好的 shell。Fish 有着很多重要的功能,比如自动建议、语法高亮、可搜索的历史记录(像在 bash 中 CTRL+r)、智能搜索功能、极好的 VGA 颜色支持、基于 web 的设置方式、完善的手册页和许多开箱即用的功能。尽管安装并立即使用它吧。无需更多其他配置,你也不需要安装任何额外的附加组件/插件!
一、安装 Fish
http://s1.运维网.com/images/20180414/1523704133284572.png

http://s1.运维网.com/images/20180414/1523704159341493.png
  which fish
  fish 作为你的永久默认 shell      chsh-s /bin/fish
  /usr/bin/fish 是 fish shell 的路径

  Bash 作为你的永久默认 shell      chsh-s /bin/bash
  重新开启终端
http://s1.运维网.com/images/20180414/1523704210688841.png

  输入fi,按两下tab颗粒列出信息,并且可以使用向下箭头选择

http://s1.运维网.com/images/20180414/1523704507286962.png
http://s1.运维网.com/images/20180414/1523704542822748.png
http://s1.运维网.com/images/20180414/1523704592774332.png




页: [1]
查看完整版本: 9、Ubuntu fish