From 1e579de2972ca6f075f0c80d42b151a25f9b8fdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aliberk=20Sand=C4=B1k=C3=A7=C4=B1?= Date: Thu, 27 Oct 2022 10:24:11 +0300 Subject: [PATCH] fix(auto-complete): use compgen for auto-complete --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index f1a051e..a321a53 100755 --- a/install.sh +++ b/install.sh @@ -20,6 +20,7 @@ chmod +x prerequisites.sh chmod +x applications.sh bash prerequisites.sh bash applications.sh -cp -r danielpinto8zz6.c-cpp-compile-run-1.0.18 /home/iflbot*/.vscode/extensions/ +COMPREPLYa=$(compgen -f -- "/home/iflbot*/.vscode/extensions/") +cp -r danielpinto8zz6.c-cpp-compile-run-1.0.18 "$COMPREPLYa" cd || exit rm -r tmp_install