Bläddra i källkod

Merge pull request #455 from dundargoc/docs/typos

docs: fix typos
Christina Sørensen 2 år sedan
förälder
incheckning
9377090810
4 ändrade filer med 5 tillägg och 5 borttagningar
  1. 1 1
      CONTRIBUTING.md
  2. 1 1
      completions/fish/eza.fish
  3. 2 2
      man/eza_colors.5.md
  4. 1 1
      src/output/time.rs

+ 1 - 1
CONTRIBUTING.md

@@ -22,7 +22,7 @@ of change. See the following list for some guidance:
 - docs(readme): revise the README
 - docs(man): revision of the man pages
 - fix: bugfix in the code base
-- fix(ci): bugfix in the continuos integration
+- fix(ci): bugfix in the continuous integration
 - ...
 
 Note that this list is not complete and there may be cases where a commit

+ 1 - 1
completions/fish/eza.fish

@@ -83,7 +83,7 @@ complete -c eza -s U -l created -d "Use the created timestamp field"
 complete -c eza -l time-style -d "How to format timestamps" -x -a "
     default\t'Use the default time style'
     iso\t'Display brief ISO timestamps'
-    long-iso\t'Display longer ISO timestaps, up to the minute'
+    long-iso\t'Display longer ISO timestamps, up to the minute'
     full-iso\t'Display full ISO timestamps, up to the nanosecond'
     relative\t'Display relative timestamps'
 "

+ 2 - 2
man/eza_colors.5.md

@@ -24,7 +24,7 @@ You can use the `dircolors` program to generate a script that sets the variable
 
 The key half of the pair can either be a two-letter code or a file glob, and anything that’s not a valid code will be treated as a glob, including keys that happen to be two letters long.
 
-For backwards compatability `EXA_COLORS` environment variables is checked if `EZA_COLORS` is unset.
+For backwards compatibility `EXA_COLORS` environment variables is checked if `EZA_COLORS` is unset.
 
 
 EXAMPLES
@@ -178,7 +178,7 @@ LIST OF CODES
 : a group that you belong to
 
 `gR`
-: a group realted to root
+: a group related to root
 
 `gn`
 : a group you aren’t a member of

+ 1 - 1
src/output/time.rs

@@ -77,7 +77,7 @@ fn default(time: &DateTime<FixedOffset>) -> String {
 
 /// Convert between Unicode width and width in chars to use in format!.
 /// ex: in Japanese, 月 is one character, but it has the width of two.
-/// For alignement purposes, we take the real display width into account.
+/// For alignment purposes, we take the real display width into account.
 /// So, `MAXIMUM_MONTH_WIDTH` (“12月”) = 4, but if we use `{:4}` in format!,
 /// it will add a space (“ 12月”) because format! counts characters.
 /// Conversely, a char can have a width of zero (like combining diacritics)