zsh: ctrl+z silence error if no backgrounded task
This commit is contained in:
parent
35b947d0c5
commit
044bd8b996
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# ctrl+z to foreground previously backgrounded tasks
|
||||
_zsh_cli_fg() { fg; }
|
||||
_zsh_cli_fg() { fg 2>/dev/null; }
|
||||
zle -N _zsh_cli_fg
|
||||
bindkey '^Z' _zsh_cli_fg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue