From 57e4ee68db5fbd95869d83c439dc2200a4a8efd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20H=C3=BCbelbauer?= Date: Sun, 31 Dec 2017 08:21:20 +0100 Subject: [PATCH] Move script to file from inline --- README.md | 2 +- cmd/pre-commit.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 cmd/pre-commit.sh diff --git a/README.md b/README.md index e6653ab..65f9ad8 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ I ended up using `bash` because I like it nicer than PowerShell. ```sh #!/bin/sh -bash -c "echo $PWD" +bash cmd/pre-commit.sh ``` ### Recompressing with store compression level for plain text readability of the XML components diff --git a/cmd/pre-commit.sh b/cmd/pre-commit.sh new file mode 100644 index 0000000..a5af605 --- /dev/null +++ b/cmd/pre-commit.sh @@ -0,0 +1,2 @@ +#!/bin/sh +echo "Hello from WSL" -- 2.18.1