From 057e1e01588fca76bf0bca982baa25678dc08038 Mon Sep 17 00:00:00 2001 From: "Trevor Joynson (trevorj)" Date: Wed, 22 Aug 2018 02:30:23 -0700 Subject: [PATCH] `PWD` is not a command, but `pwd` is. --- gtm-plugin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtm-plugin.sh b/gtm-plugin.sh index 0ca2938..2d7c1a9 100755 --- a/gtm-plugin.sh +++ b/gtm-plugin.sh @@ -2,7 +2,7 @@ export GTM_STATUS="" export GTM_NEXT_UPDATE=0 -export GTM_LAST_DIR="$(PWD)" +export GTM_LAST_DIR="${PWD}" function gtm_record_terminal() { let epoch=$((`date +%s`))