zsh: add ctrl+z to foreground tasks
This commit is contained in:
parent
af0451840d
commit
35b947d0c5
1 changed files with 4 additions and 0 deletions
4
.config/zsh/config.d/ctrlz-fg
Normal file
4
.config/zsh/config.d/ctrlz-fg
Normal file
|
@ -0,0 +1,4 @@
|
|||
# ctrl+z to foreground previously backgrounded tasks
|
||||
_zsh_cli_fg() { fg; }
|
||||
zle -N _zsh_cli_fg
|
||||
bindkey '^Z' _zsh_cli_fg
|
Loading…
Add table
Add a link
Reference in a new issue