diff options
author | cos <cos> | 2015-09-16 22:37:59 +0200 |
---|---|---|
committer | cos <cos> | 2016-07-28 20:52:44 +0200 |
commit | 26f0ba3074047d074e71c904baccfce0763e346d (patch) | |
tree | 512b2a1fe22871e8599aae5ac451b634d07fc360 /doc | |
parent | 492a06066ae5cca4054dbf3241863fb842eddcd1 (diff) | |
download | ratpoison-cr/add_confirmquit.zip |
Prompt on interactive quit when confirmquit is true.cr/add_confirmquit
Quitting a window manager is a very special and dangerous operation compared to
exiting an editor, a web browser or something else with a command syntax very
similar to ratpoison's. This commit adds some protection for those (us) who
occasionally unintentionally types quit at the wrong prompt.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ratpoison.mdoc.1 | 7 | ||||
-rw-r--r-- | doc/ratpoison.texi | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/doc/ratpoison.mdoc.1 b/doc/ratpoison.mdoc.1 index 2e3c356..941f503 100644 --- a/doc/ratpoison.mdoc.1 +++ b/doc/ratpoison.mdoc.1 @@ -1141,6 +1141,13 @@ Decide if history expansion using ! is available. Default is .Li 0 (off). +.It Cm confirmquit Li 0 | 1 +Protect against unintended window manager termination by prompting for +confirmation when calling quit. (Only in interactive mode.) +.Pp +Default is +.Li 0 +(off). .El .Sh FILES .Bl -tag -width "%%sysconfdir%%/ratpoisonrc" -compact diff --git a/doc/ratpoison.texi b/doc/ratpoison.texi index da9da16..fb8e91d 100644 --- a/doc/ratpoison.texi +++ b/doc/ratpoison.texi @@ -1672,6 +1672,7 @@ Here is a list of variables that can be set: @item historysize @item historycompaction @item historyexpansion +@item confirmquit @end itemize @end deffn |