From 0d0fa3840ca114e56665497aecd58dd0b99ca5fc Mon Sep 17 00:00:00 2001 From: Pratik Kumar Tripathy Date: Tue, 8 Feb 2022 19:37:15 +0530 Subject: [PATCH] Fixing bootstrap script --- .config/Code/User/settings.json | 2 +- .gitignore | 2 ++ bootstrap.sh | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.config/Code/User/settings.json b/.config/Code/User/settings.json index 64952dd..bacf3c3 100755 --- a/.config/Code/User/settings.json +++ b/.config/Code/User/settings.json @@ -30,7 +30,7 @@ // // Editor Font "editor.fontFamily": "Hasklug Nerd Font", - "editor.fontSize": 19, + "editor.fontSize": 17, "editor.fontLigatures": true, "terminal.integrated.fontFamily": "FuraCode Nerd Font", "terminal.integrated.fontSize": 17, diff --git a/.gitignore b/.gitignore index 30fea24..8956221 100755 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +.DS_Store + **state.vscdb **state.vscdb.backup diff --git a/bootstrap.sh b/bootstrap.sh index a83aa05..cf69457 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -49,7 +49,7 @@ done main() { TS=$(date '+%d_%m_%Y-%H_%M_%S') - SCRIPT_DIR="$( cd -P "$( dirname "$SOURCE")" > /dev/null 2>&1 && pwd)" + SCRIPT_DIR="$( cd -P "$( dirname "$0")" > /dev/null 2>&1 && pwd)" find . -type f ! -name "$0" ! -path '*/.idea/*' ! -path '*/.git/*' ! -name 'LICENSE' ! -name 'README.md' -print0 | while IFS= read -r -d '' file; do # Replaces `.` with `~` in the found file names