Skip to content

Commit

Permalink
Echo pressed character in bookmark prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
tomocafe committed May 14, 2023
1 parent aaee9d3 commit 9a13914
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
MAJOR_VERSION=1
VERSION=1.13
VERSION=1.13.1

TARGET := bash-boost-$(VERSION)
SRCS := $(shell find src -type f -name "*.sh" | sort)
Expand Down
4 changes: 2 additions & 2 deletions src/MANUAL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: BASH-BOOST(1)
author: github.com/tomocafe
date: May 7, 2023
date: May 14, 2023
---


Expand Down Expand Up @@ -467,7 +467,7 @@ If KEY is already used, this will overwrite the orevious assignment

**Notes:**

Useful as a keyboard shortcut, e.g., Ctrl+Shift+B
Useful as a keyboard shortcut, e.g., Ctrl+X-B

## `bb_bookmark [KEY] [DIR]`

Expand Down
2 changes: 1 addition & 1 deletion src/interactive/bookmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ __bb_interactive_bookmark_resp=""

function _bb_interactive_bookmark_prompt () {
read -r -n 1 -p "${BB_BOOKMARK_PS1:-(bookmark) }" __bb_interactive_bookmark_resp
echo
__bb_interactive_bookmark_resp="${__bb_interactive_bookmark_resp,,}"
echo "$__bb_interactive_bookmark_resp"
}

function _bb_interactive_bookmark_iskeyvalid() {
Expand Down
4 changes: 2 additions & 2 deletions src/man/man1/bash-boost.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Automatically generated by Pandoc 2.5
.\"
.TH "BASH\-BOOST" "1" "May 7, 2023" "" ""
.TH "BASH\-BOOST" "1" "May 14, 2023" "" ""
.hy
.SH Package cli/arg
.PP
Expand Down Expand Up @@ -455,7 +455,7 @@ key If KEY is already used, this will overwrite the orevious assignment
.PP
\f[B]Notes:\f[R]
.PP
Useful as a keyboard shortcut, e.g., Ctrl+Shift+B
Useful as a keyboard shortcut, e.g., Ctrl+X\-B
.SS \f[C]bb_bookmark [KEY] [DIR]\f[R]
.PP
Go to the directory bookmarked by KEY if it exists, otherwise create
Expand Down

0 comments on commit 9a13914

Please sign in to comment.