Skip to content

Commit

Permalink
Needed full path for symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
CoreyMSchafer committed Jul 19, 2024
1 parent 5b54716 commit 80e4b5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vscode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 48,8 @@ if [ -d "$VSCODE_USER_SETTINGS_DIR" ]; then
mv "${VSCODE_USER_SETTINGS_DIR}/keybindings.json" "${VSCODE_USER_SETTINGS_DIR}/keybindings.json.backup"

# Copy your custom settings.json and keybindings.json to the VS Code settings directory
ln -sf "settings/VSCode-Settings.json" "${VSCODE_USER_SETTINGS_DIR}/settings.json"
ln -sf "settings/VSCode-Keybindings.json" "${VSCODE_USER_SETTINGS_DIR}/keybindings.json"
ln -sf "${HOME}/dotfiles/settings/VSCode-Settings.json" "${VSCODE_USER_SETTINGS_DIR}/settings.json"
ln -sf "${HOME}/dotfiles/settings/VSCode-Keybindings.json" "${VSCODE_USER_SETTINGS_DIR}/keybindings.json"

echo "VS Code settings and keybindings have been updated."
else
Expand Down

0 comments on commit 80e4b5f

Please sign in to comment.