Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.
/ hyper-confirm Public archive

⛔ Plugin to show a confirmation dialog before quitting Hyper

License

Notifications You must be signed in to change notification settings

zachflower/hyper-confirm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Important

hyper-confirm is no longer in active maintenance, so it is not recommended to be used and unlikely to work with the latest versions of Hyper. I am not aware of a replacement plugin, but will happily add a link here if someone wants to send one my way.

build npm npm npm

hyper-confirm

hyper-confirm is a plugin for Hyper (formerly HyperTerm) that shows a confirmation dialog before quitting Hyper. This functionality, which is found in other terminal emulators like iTerm2, provides a safety net against accidentally quitting Hyper (a common problem outlined in Hyper Issue #399).

Installation

Via hpm

To install hyper-confirm via hpm (recommended), run the following command in your terminal:

hpm install hyper-confirm

Manually

If you don't use hpm, add hyper-confirm to the plugins array in your Hyper config file (typically found at ~/.hyper.js):

  plugins: [
    ...
    'hyper-confirm'
  ]

Configuration

As of v1.0.0, the quit confirmation dialog is enabled by default. To disable it, add confirmQuit: false to the config object in your Hyper config file (typically found at ~/.hyper.js):

  module.exports = {
    config: {
      ...
      confirmQuit: false
    },
    ...
  };

Credits

License

hyper-confirm is released under the MIT License.