Instead of ctrl-z and bg why not just do # & to push it to the background.
I don't know if you can bring a process back to the foreground using the
#> watch -n 1 dmesg & #> fg -- brought it back
181–186 of 186 posts
Earlier quoted context omitted.
zsh never claimed it was compatible with bash. I'm not sure where you got that impression from. Maybe you're thinking of sh -- the bourne shell -- which zsh is in fact compatible with (as long as you limit your scripts to the bourne shell subset of zsh).
I'm not sure, where I've read it specifically, but it was a feature I was looking fore before switching to zsh about 5 years ago. What I found now is this: https://wiki.archlinux.org/index.php/zsh Anyways. The core point is that compatibility often means compatible in 90%-99% of the cases. It's really really hard to be 100% compatible, which also requires one to emulate bugs etc.
What? No. Use Ctrl-f and Ctrl-b. I use this probably more than any other readline shortcut.
Ctrl-h for backspace, Ctrl-d for delete. Half my keyboards don't even have arrow keys and I don't miss them.
Earlier quoted context omitted.
There is Ctrl-y for pasting deleted strings, which goes along very well with these commands: Ctrl-k delete to end of line Ctrl-u delete to beginning of line Alt-d delete to end of word Ctrl-w delete to beginning of word Alt-Backspc same Bash keybindings behave like Emacs by default, hence every time you invoke one of these, it will put the string into a buffer, which can be later pasted using Ctrl-y. This is very use…
"\e[A": history-search-backward "\e[B": history-search-forward These have to go in `~/.inputrc`, right?