From ef520f28a00786071d1531c49c41df0f499d6773 Mon Sep 17 00:00:00 2001 From: MorganGeek Date: Mon, 13 Jul 2020 18:31:35 +0200 Subject: [PATCH] add shell cheatsheet --- cheat/shell.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 cheat/shell.md diff --git a/cheat/shell.md b/cheat/shell.md new file mode 100644 index 0000000..facff69 --- /dev/null +++ b/cheat/shell.md @@ -0,0 +1,8 @@ +### Debugging a shell function +```bash +function mybuggyfunction { + set -x + my code + set +x +} +```