summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhizhen He <hezhizhen.yi@gmail.com>2022-11-18 09:23:04 +0800
committerGitHub <noreply@github.com>2022-11-18 10:23:04 +0900
commit2a54e3d7705266bda3db16d2903ddc8c7eb370fc (patch)
treea81d1a2b4053e66e8a79470f3d57505d5ecb4fbb
parent06b02ba46e384a23829e1164c35b9e672493d82c (diff)
downloadfzf-2a54e3d7705266bda3db16d2903ddc8c7eb370fc.tar.gz
Fix typos in the source code (#3048)
-rwxr-xr-xbin/fzf-tmux4
-rw-r--r--src/terminal.go2
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.