Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sre2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
sre2
2y ago
You are looking for bind -m emacs-meta '"\C-j": vi-editing-mode' and possibly adding bind -m vi-insert '"\C-e": emacs-editing-mode'
2.
▲
by
sre2
2y ago
You could easily improve upon that. For example the following will change the cursor to a block in emacs mode, an underline in vi-command and a line in vi-insert in most terminals. set show-mode-in-prompt on set emacs-mode-string
3.
▲
by
sre2
2y ago
I've been doing this for at least a decade. Was introduced to the idea by a colleague who might have read this blog post. I usually do the same with commands where you are able to create sub-commands too, like git-,home (which allows y
4.
▲
by
sre2
3y ago
Heredocs (described in the docs[1] under "shell form") was introduced 3 years ago[1]. The flag '--squash' has been in podman for quite a while[2]. It might be time for you to upgrade your tooling. [0]: https://
5.
▲
by
sre2
3y ago
Curl has the ability to use the OS certificate store. There is also the option (at invocation) to not use any other certificate stores than the one provided by the user (at invocation). The version which is shipped by Apple does ignore this