Skip to content

Commit

Permalink
docs: Fix typo in local_machine.txt (#557)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbabej authored Aug 8, 2021
1 parent bcf7078 commit 3876425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/local_machine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ You can also use it as a *context manager*, so it behaves like ``pushd``/``popd`
>>> print "%s:%s" % (local.cwd, (ls | wc["-l"])())
d:\workspace\plumbum: 9

Finally, A more explicit and thread-safe way of running a command in a differet directory is using the ``.with_cwd()`` method:
Finally, A more explicit and thread-safe way of running a command in a different directory is using the ``.with_cwd()`` method:

>>> ls_in_docs = local.cmd.ls.with_cwd("docs")
>>> ls_in_docs()
Expand Down

0 comments on commit 3876425

Please sign in to comment.