gtm-terminal-plugin
gtm-terminal-plugin copied to clipboard
.gtm-plugin.sh:5: command not found: PWD
Hi , I have installed gtm and gtm-termimal-plugin with zsh.
When I start a new zsh, an error message shows:
/home/cbt/.gtm-plugin.sh:5: command not found: PWD
How to solve this? Do I need to change the .gtm-plugin.sh file?
Thanks!
BTW, my OS is linux mint 18.2
I had the same problem. I'm able to fix it by changing line 5 on gtm-plugin.sh from this: export GTM_LAST_DIR="$(PWD)" to this: export GTM_LAST_DIR="${PWD}"