Re:s/bash/zsh/g
by cookiecaper on Wednesday October 20, 2021 @01:03PM
(#28933100)
Up-up-Ctrl+K to kill the line; down to go down one in the history; end to go to end of line; `; and` or ` &&` to join the commands; ctrl+Y to yank the line from the killring. [0]
Seems to work in bash too, fwiw.
[0] https://fishshell.com/docs/current/interactive.html#copy-and...
Re:s/bash/zsh/g
by artful-hacker on Wednesday October 20, 2021 @04:21PM
(#28935942)
The first thing in install with oh-my-fish is bang-bang, which fixes this issue for me.
Alt+Up is great for recalling individual arguments, but am I missing something or is there no way to recall a whole previous line in-place, without overwriting what’s currently on the command line?