gtm-terminal-plugin icon indicating copy to clipboard operation
gtm-terminal-plugin copied to clipboard

.gtm-plugin.sh:5: command not found: PWD

Open chenbotao828 opened this issue 7 years ago • 1 comments

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

chenbotao828 avatar Oct 08 '17 11:10 chenbotao828

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}"

ramirahikkala avatar Apr 11 '18 11:04 ramirahikkala