Skip to content
This repository was archived by the owner on Jan 2, 2021. It is now read-only.

Commit 0c31e53

Browse files
committed
Fix suggested alias for relative paths. Closes #37 #28.
1 parent 34f8e62 commit 0c31e53

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,12 @@ The easiest way to get up-and-running is to `install Docker <https://www.docker.
8989
.. code:: bash
9090
9191
# Setup the alias. Put this in your .bash_rc or .zshrc file so it's available at startup.
92-
alias enhance="function ne() { docker run -v \`dirname \$1\`:/ne/input -it alexjc/neural-enhance input/\`basename \$1\`; }; ne"
93-
92+
alias enhance='function ne() { docker run -v $(PWD)/`dirname $1`:/ne/input -it alexjc/neural-enhance input/`basename $1`; }; ne'
93+
9494
# Now run any of the examples above using this alias, without the `.py` extension.
9595
enhance images/example.jpg
9696
97-
**Multiple Images** — To enhance multiple images in a row (faster) from a folder or widlcard specification, make sure to quote the argument to the alias:
97+
**Multiple Images** — To enhance multiple images in a row (faster) from a folder or widlcard specification, make sure to quote the argument to the alias command:
9898

9999
.. code:: bash
100100

0 commit comments

Comments
 (0)