From 66e0ede616a5852be5688bf15df9c09e107cd1ca Mon Sep 17 00:00:00 2001 From: ChaotiCryptidz Date: Wed, 9 Mar 2022 21:12:56 +0000 Subject: [PATCH] beep --- home/programming/editors/vscode.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/programming/editors/vscode.nix b/home/programming/editors/vscode.nix index 00be101..cb8dfd7 100644 --- a/home/programming/editors/vscode.nix +++ b/home/programming/editors/vscode.nix @@ -1,7 +1,7 @@ { config, pkgs, ... }: let configDir = "Code"; userDir = if pkgs.stdenv.hostPlatform.isDarwin then - "Library/Application\ Support/${configDir}/User" + "Library/Application Support/${configDir}/User" else "${config.xdg.configHome}/${configDir}/User"; in { @@ -28,7 +28,7 @@ in { after = [ "writeBoundary" ]; before = [ ]; data = '' - vscodeDir=$HOME/${userDir} + vscodeDir="$HOME/${userDir}" $DRY_RUN_CMD cat $vscodeDir/settings.json > $vscodeDir/settings_whatever.json $DRY_RUN_CMD rm -f $vscodeDir/settings.json $DRY_RUN_CMD cp $vscodeDir/settings_whatever.json $vscodeDir/settings.json