From 3876425a04f934667e1f91ba88f526ca6976dbd8 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Sun, 8 Aug 2021 16:28:16 -0400 Subject: [PATCH] docs: Fix typo in local_machine.txt (#557) --- docs/local_machine.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/local_machine.rst b/docs/local_machine.rst index 4923da955..3b0693c1b 100644 --- a/docs/local_machine.rst +++ b/docs/local_machine.rst @@ -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()