Skip to content

Commit

Permalink
Fix "it's" typos (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
seasonedfish authored Jul 9, 2022
1 parent a950149 commit 4b834a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ commonly used with Ranger and other previewing methods.

`scope.sh` is a Bash script that uses `case` switches and external
programs to decide how to preview every file it encounters. It knows how
to handle every file according to it’s
to handle every file according to its
https://en.wikipedia.org/wiki/Media_type[MIME type] and/or file
extension using `case` switches and external programs. This design makes
it hard to configure / maintain and it makes it slow for startup and
heavy when running.

Pistol is a Go program (with (almost) 0 dependencies) and it’s MIME type
Pistol is a Go program (with (almost) 0 dependencies) and its MIME type
detection is internal. Moreover, it features native preview support for
almost any archive file and for text files along with syntax
highlighting while `scope.sh` relies on external programs to do these
Expand Down Expand Up @@ -118,7 +118,7 @@ For example, a `.gz` file is a _single_ file compressed with `gzip`. A
`.tar.gz` is a `.tar` file compressed using `gzip`.

When pistol encounters a single file compressed using a known
compression algorithm, it doesn't know how to handle it’s content, it
compression algorithm, it doesn't know how to handle its content, it
displays the type of the archive. If a known compression algorithm has
compressed a `.tar` file, Pistol lists the files themselves.

Expand Down Expand Up @@ -332,7 +332,7 @@ Of course that this is a mere example, the same may apply to any regular
expressions you’d choose to match against.

For a list of the internal regular expressions tested against when
Pistol reverts to it’s native previewers, read the file
Pistol reverts to its native previewers, read the file
https://github.com/doronbehar/pistol/blob/master/internal_writers/map.go#L8-L12[`internal_writers/map.go`].

More examples can be found in
Expand Down Expand Up @@ -470,7 +470,7 @@ export PISTOL_CHROMA_FORMATTER=terminal16m
----

Recent versions of https://github.com/gokcehan/lf[Lf] support
https://github.com/gokcehan/lf/pull/93[256 colors] in it’s preview
https://github.com/gokcehan/lf/pull/93[256 colors] in its preview
window. AFAIK, footnote:[I don’t use Ranger anymore, ever since I moved to Lf. If you have
evidence it does support 256 colors, let me know and I’ll change the
default.], https://ranger.github.io/[Ranger] supports 8
Expand Down
2 changes: 1 addition & 1 deletion previewer.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func NewPreviewer(magic_db_path, filePath, configPath string, extras []string) (
if def[0] == "fpath" {
log.Infof("found 'fpath' at the beginning, testing match against file path")
if len(def) < 3 {
log.Warnf("found 'fpath' keyword but it's line contains less then 3 words:\n%s", def)
log.Warnf("found 'fpath' keyword but its line contains less then 3 words:\n%s", def)
log.Warnf("skipping")
continue
}
Expand Down

0 comments on commit 4b834a9

Please sign in to comment.