Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

README.md

Ctrl-Zsh

Did you know you can suspend any (well, almost any) process in the terminal by pressing Ctrl-Z? You did? But you always found it a pain to reactivate it because you had to type fg at the prompt? Me too!

That's why I wrote Ctrl-Zsh. Just install this tiny Zsh plugin and suddenly Ctrl-Z will also take you back into the process you just left. Amazing!

(For more information about the awesomeness of job control, see my blog post on the topic.)

Installation

Antigen

Antigen is awesome, and if you aren't using it yet, you should give it a try. To install Ctrl-Zsh just add

antigen-bundle Peeja/ctrl-zsh

to your .zshrc. Or, to try before you buy, just run that command to enable Ctrl-Zsh for the current shell session.

Oh My Zsh!

Add it to your plugins directory, like so:

cd ~/.oh-my-zsh/custom/plugins
git clone https://github.com/Peeja/ctrl-zsh

Other

Just source ctrl-zsh.plugin.zsh from your .zshrc. Or, heck, copy it into your .zshrc. It's only three lines! (But I've got devious plans for more.)

About

Switch in and out of command-line apps with one keystroke: Ctrl-Z

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.