aboutsummaryrefslogtreecommitdiffstats
path: root/.vscode
diff options
context:
space:
mode:
authorSimen A. W. Olsen <cobraz@cobraz.no>2020-11-20 22:49:23 +0100
committerGitHub <noreply@github.com>2020-11-20 22:49:23 +0100
commitb694db7d427dcc6146143330a0b701055c77ee61 (patch)
treeb68802911ef960e42dbad5c511bb0de13cadec37 /.vscode
parent0497da6475e5b0563811115730404733a8261567 (diff)
downloaddotfiles-b694db7d427dcc6146143330a0b701055c77ee61.tar.gz
dotfiles-b694db7d427dcc6146143330a0b701055c77ee61.zip
fix: path issue
Diffstat (limited to '.vscode')
-rwxr-xr-x.vscode/vscode.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/.vscode/vscode.sh b/.vscode/vscode.sh
index 426f377..be1cc64 100755
--- a/.vscode/vscode.sh
+++ b/.vscode/vscode.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
+
# Install VSCode extensions
-cat extensions.list | grep -v '^#' | xargs -L1 code --install-extension \ No newline at end of file
+cat $DIR/extensions.list | grep -v '^#' | xargs -L1 code --install-extension