 |
|
ruidoBlanco
V2EX member #393703, joined on 2019-03-20 14:29:46 +08:00Today's activity rank 14103
|
 |
Per ruidoBlanco's settings, the topics list is hidden |
Deals info, including closed deals, is not hidden
ruidoBlanco's recent replies
没点开看也知道自己是根本不会去用的,点进去看见那个侧边栏,脑子里蹦出来的是「 amateur 」。侧边栏无端的增加了 context switching 开销,敲命令能避免就避免。
下面的是我 kitty 里配的,任意命令行,不论是否过 ssh ,直接写自己的需求,cmd+g 就生成命令。
```
map kitty_mod+g remote_control_script kitty_generate_cmd
# /usr/bin/zsh -l
# Capture screen text before modifying the command line
screen=$(kitty @ get-text --extent=screen -m state:focused)
# Show placeholder while generating
kitty @ send-text -m state:focused "\x15🤖 thinking ..."
cmd=$(echo "$screen" \
| omp -p "Based on the terminal output above, the last line is my request. Output ONLY the shell command to run. No explanation, no markdown fence.")
# Replace placeholder with generated command
kitty @ send-text -m state:focused "\x15${cmd}"
```
「作为一个普通人,是吃米饭更合适还是吃土豆更合适?我的观点是米饭实惠又管饱,那就别吃土豆了,还省得削皮」
综上可见,没有一致赞同的好剧,符合我现在的片荒观感。
「提示符也能干点活」,「我想要个能帮我生成命令的终端」....
"Those who do not understand Unix are condemned to reinvent it, poorly."
你这么点需求,现有工具都可以做了。
切菜砍了自己,能怪刀吗?
拿枪射了自己,能怪枪吗?
是不知道刀枪可能伤到自己吗?
自省。
fool me once, shame on you; fool me twice, shame on me.
这种涨价已经玩了几次了,所以,没什么好商量的。
同理,bitwarden 不久前涨价翻倍,这是第一次,下次再来,我就自架 vaultwarden 了。
食指腱鞘炎的话,是点击鼠标太多,我试过的
- 拇指轨迹球,罗技 M575
- vimium 键盘操作浏览器
有改善,但是偶尔还是会疼。原因是并没有解决食指左键的问题。
后来换了 Elecom Deft Pro ,左键改成了拇指敲击,然后慢慢的疼痛感就没了。坏处是食指中指轨迹球始终是稍慢一点点,打游戏就没那么利索了。