深度终端不支持连接fish shell怎么办
Tofloor
poster avatar
要讲武德
deepin
2018-11-14 23:45
Author
本帖最后由 licardo 于 2018-11-14 15:49 编辑



我把服务器默认shell 改成了fish  shell。
结果现在连不上了
fish: Unsupported use of '&&'. In fish, please use 'COMMAND; and COMMAND'.
Reply Favorite View the author
All Replies
avatar
要讲武德
deepin
2018-11-15 02:09
#1
         
Reply View the author
avatar
funtoo
deepin
2018-11-15 03:01
#2
非交互式shell执行登录命令时,会读取/etc/profile和~/.profile里面的东西,然后这里面的东西还是用bourne shell语法写的,fish不兼容此类语法。所有相关的初始化脚本你都需要改造成fish语法的。
所以我不明白为啥有人爱用这么麻烦的玩意。
Reply View the author
avatar
要讲武德
deepin
2018-11-15 04:15
#3
https://bbs.deepin.org/post/170861
非交互式shell执行登录命令时,会读取/etc/profile和~/.profile里面的东西,然后这里面的东西还是用bourne ...

因为日常用起来方便啊. 命令补全很爽啊. 这个服务器是我搞着玩改了.正常的服务器不会默认的,脚本也不会用他的
Reply View the author
avatar
158******08
deepin
2018-11-15 04:42
#4
zsh也可以实现语法高亮和ALT-F Ctrl-F补全 通过
Reply View the author
avatar
158******08
deepin
2018-11-15 04:43
#5
zsh也可以实现语法高亮和ALT-F Ctrl-F补全 通过 zsh-autosuggestions和zsh-syntax-highlighting这两个插件实现。
Reply View the author
avatar
158******91
deepin
2018-11-15 22:58
#6
深度终端确实不行,都是命令行ssh的



Reply View the author