add version to help screen
This commit is contained in:
parent
d7f8541f7e
commit
b61ea77cd2
|
@ -3,12 +3,16 @@
|
|||
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
source $CURRENT_DIR/utils.sh
|
||||
|
||||
pushd $CURRENT_DIR
|
||||
FINGERS_VERSION=$(git describe --tags | sed "s/-.*//g")
|
||||
popd
|
||||
|
||||
function show_help() {
|
||||
fingers_pane_id=$1
|
||||
clear_screen "$fingers_pane_id"
|
||||
|
||||
cat << ENDOFHELP
|
||||
tmux-fingers help:
|
||||
tmux-fingers ( $FINGERS_VERSION ) help:
|
||||
|
||||
- a-z: yank a highlighted hint
|
||||
- <space>: toggle compact hints on/off
|
||||
|
|
Loading…
Reference in New Issue