aboutsummaryrefslogtreecommitdiff
path: root/noice.1
diff options
context:
space:
mode:
authorJohn Ankarstr\xf6m <john@ankarstrom.se>2021-06-01 03:36:57 +0200
committerJohn Ankarstr\xf6m <john@ankarstrom.se>2021-06-01 03:55:05 +0200
commitcd3bd5e54ea416bbb0e5bf13bd04f8b39b2d4fd7 (patch)
tree27a4f7421fac8317d5032c6c4ca5109f7349d479 /noice.1
parent64f2f6b907e40fa48ab1287ae60a800df7df3213 (diff)
downloadnoice-cd3bd5e54ea416bbb0e5bf13bd04f8b39b2d4fd7.tar.gz
Add -p option (print last path on quit, but not sigint)
Diffstat (limited to 'noice.1')
-rw-r--r--noice.18
1 files changed, 8 insertions, 0 deletions
diff --git a/noice.1 b/noice.1
index dddd302..46e4c01 100644
--- a/noice.1
+++ b/noice.1
@@ -6,6 +6,7 @@
.Nd small file browser
.Sh SYNOPSIS
.Nm
+.Op Fl p
.Op Ar dir
.Sh DESCRIPTION
.Nm
@@ -24,6 +25,13 @@ is a relative path,
will not go back beyond the first component of the path using standard
navigation key presses.
.Pp
+If the
+.Fl p
+flag is passed,
+.Nm
+will print the last path upon exit.
+This can be circumvented by exiting via SIGINT.
+.Pp
.Nm
supports both vi-like and emacs-like key bindings in the default
configuration.