@shrik3 被builtin的提示cli arguments功能吸引 :meow_blush: 其他还一概不知……

@pi 补全非常好用,

比如可以自动根据makefile补全 make target. (P1)

比如常用命令可以补全参数的同时显示说明。 (P2)

可以根据历史记录自动补全匹配到的长命令 (P3)

可以gui配置 (会开一个本地http server,然后浏览器配置)(P4)

而且内置vim模式。



@shrik3 已经都碰到了!ctrl+r之后选第一个需要回车两次有点意外x 刚刚试图source $mybashprofile结果从PS1参数开始就不一样 :ablobdeform: 有点担心conda,不过conda肯定有办法……

@pi 记得一开始的时候像 echo $(ls) 这种命令都会失败,后面好像又改成一致的语法了。

感觉其实习惯一下就好了,我目前没遇到什么因为shell导致程序不正常工作的问题。。 (不要用fish执行 sh/bash 脚本,fish只用来做cli prompt就可以了。)

# 我现在完全不用bash的profile,全都是写在fish config里的。

@shrik3 补全和提示实在太好用。。看了下bash/zsh要到同样效果好像很麻烦,很想cli用fish了…………

感觉之后bash脚本还是得加上shebang,我现在全是. sc.sh这样偷懒执行已经变成下意识 :meow_box:

Follow

@shrik3 @pi 开箱即用是fish的卖点之一,虽然我用oh-my-fish……

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.