Skip to content

Commit

Permalink
pages.*BSD: add aliases for chpass
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorhcl committed Jan 30, 2024
1 parent f40ba97 commit 707c43a
Show file tree
Hide file tree
Showing 10 changed files with 64 additions and 1 deletion.
7 changes: 7 additions & 0 deletions pages/freebsd/chfn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# chfn

> This command is an alias of `chpass`.
- View documentation for the original command:

`tldr chpass`
7 changes: 7 additions & 0 deletions pages/freebsd/chsh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# chsh

> This command is an alias of `chpass`.
- View documentation for the original command:

`tldr chpass`
7 changes: 7 additions & 0 deletions pages/freebsd/ypchfn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# ypchfn

> This command is an alias of `chpass`.
- View documentation for the original command:

`tldr chpass`
7 changes: 7 additions & 0 deletions pages/freebsd/ypchpass.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# ypchpass

> This command is an alias of `chpass`.
- View documentation for the original command:

`tldr chpass`
7 changes: 7 additions & 0 deletions pages/freebsd/ypchsh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# ypchsh

> This command is an alias of `chpass`.
- View documentation for the original command:

`tldr chpass`
7 changes: 7 additions & 0 deletions pages/netbsd/chfn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# chfn

> This command is an alias of `chpass`.
- View documentation for the original command:

`tldr chpass`
7 changes: 7 additions & 0 deletions pages/netbsd/chsh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# chsh

> This command is an alias of `chpass`.
- View documentation for the original command:

`tldr chpass`
7 changes: 7 additions & 0 deletions pages/openbsd/chfn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# chfn

> This command is an alias of `chpass`.
- View documentation for the original command:

`tldr chpass`
7 changes: 7 additions & 0 deletions pages/openbsd/chsh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# chsh

> This command is an alias of `chpass`.
- View documentation for the original command:

`tldr chpass`
2 changes: 1 addition & 1 deletion scripts/set-alias-page.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get_tldr_root():
"""

# If this script is running from tldr/scripts, the parent's parent is the root
f = os.path.normpath(__file__)
f = os.path.normpath(__file__).replace('\\', '/')
if f.endswith("tldr/scripts/set-alias-page.py"):
return os.path.dirname(os.path.dirname(f))

Expand Down

0 comments on commit 707c43a

Please sign in to comment.