Add an accidentally untracked new file
This commit is contained in:
parent
2a042c031b
commit
75bfbb6e90
1 changed files with 7 additions and 0 deletions
7
home/.zsh/functions/fancy-ctrl-z
Normal file
7
home/.zsh/functions/fancy-ctrl-z
Normal file
|
@ -0,0 +1,7 @@
|
|||
#! zsh
|
||||
if [[ -z $BUFFER && -n $jobstates ]]; then
|
||||
BUFFER=" fg"
|
||||
zle accept-line
|
||||
else
|
||||
zle self-insert '^Z'
|
||||
fi
|
Loading…
Reference in a new issue