From 2a54e3d7705266bda3db16d2903ddc8c7eb370fc Mon Sep 17 00:00:00 2001 From: Zhizhen He Date: Fri, 18 Nov 2022 09:23:04 +0800 Subject: [PATCH] Fix typos in the source code (#3048) --- bin/fzf-tmux | 4 ++-- src/terminal.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/fzf-tmux b/bin/fzf-tmux index e461fd77..44c60515 100755 --- a/bin/fzf-tmux +++ b/bin/fzf-tmux @@ -180,8 +180,8 @@ trap 'cleanup' EXIT envs="export TERM=$TERM " if [[ "$opt" =~ "-E" ]]; then FZF_DEFAULT_OPTS="--margin 0,1 $FZF_DEFAULT_OPTS" - tmux_verson=$(tmux -V) - if [[ ! $tmux_verson =~ 3\.2 ]]; then + tmux_version=$(tmux -V) + if [[ ! $tmux_version =~ 3\.2 ]]; then FZF_DEFAULT_OPTS="--border $FZF_DEFAULT_OPTS" opt="-B $opt" fi diff --git a/src/terminal.go b/src/terminal.go index d1bae502..f8338c65 100644 --- a/src/terminal.go +++ b/src/terminal.go @@ -30,7 +30,7 @@ strings. Acts as input validation for parsePlaceholder function. Describes the syntax, but it is fairly lenient. The following pseudo regex has been reverse engineered from the -implementation. It is overly strict, but better describes whats possible. +implementation. It is overly strict, but better describes what's possible. As such it is not useful for validation, but rather to generate test cases for example.