From 3e5b22bc3a3baf9cb27bedb25ef11d2e44287f70 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Mon, 21 Jan 2019 16:22:18 -0500 Subject: [PATCH] Use a logical 'and' before removal command. If the user doesn't have awesome's config installed to the given directory, the first `mv` command will fail and the repository files removed thereafter. To prevent this from happening, use the logical `and` instead and the user has the opportunity to create the directory and re-run (instead of having to re-clone). --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 2e908b7..1051865 100644 --- a/README.rst +++ b/README.rst @@ -97,7 +97,7 @@ Installation .. code-block:: shell $ git clone --recursive https://github.com/lcpz/awesome-copycats.git - $ mv -bv awesome-copycats/* ~/.config/awesome; rm -rf awesome-copycats + $ mv -bv awesome-copycats/* ~/.config/awesome && rm -rf awesome-copycats Usage =====