diff options
| author | srdusr <trevorgray@srdusr.com> | 2023-05-13 15:49:39 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2023-05-13 15:49:39 +0200 |
| commit | 0af6d5533bc0fbcd8038ce134d1bc7b68a9cfbd5 (patch) | |
| tree | 5d5c17aac63937b42e0688e82e883f37deeda82c /.config | |
| parent | c56f99db5f9e87c2336ea9a91c68275a27678d34 (diff) | |
| download | dotfiles-0af6d5533bc0fbcd8038ce134d1bc7b68a9cfbd5.tar.gz dotfiles-0af6d5533bc0fbcd8038ce134d1bc7b68a9cfbd5.zip | |
Use ctrl-z to toggle in and out of bg
Diffstat (limited to '.config')
| -rw-r--r-- | .config/zsh/.zshrc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index f6ad077..4564568 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -297,6 +297,12 @@ getstate () { . ~/environment.tmp } +# use ctrl-z to toggle in and out of bg +if [[ $- == *i* ]]; then + stty susp undef + bind '"\C-z":" fg\015"' +fi + # cd using "up n" as a command up as many directories, example "up 3" up() { # default parameter to 1 if non provided |
