diff --git a/.config/Code/User/settings.json b/.config/Code/User/settings.json new file mode 100644 index 00000000..8f0484ba --- /dev/null +++ b/.config/Code/User/settings.json @@ -0,0 +1,11 @@ +{ + "window.zoomLevel": 1, + "extensions.autoUpdate": true, + "editor.cursorStyle": "block", + "rust.rustLangSrcPath": "/home/cyryl/dev/rust/src", + "rust.racerPath": "/home/cyryl/.cargo/bin/racer", + "rust.rustfmtPath": "/home/cyryl/.cargo/bin/rustfmt", + "rust.rustsymPath": "/home/cyryl/.cargo/bin/rustsym", + "rust.cargoPath": "/home/cyryl/.cargo/bin/cargo", + "rust.cargoHome": "/home/cyryl/.cargo/" +} \ No newline at end of file diff --git a/common/configure_fresh_system b/common/configure_fresh_system index 137ba01f..b5ad9510 100755 --- a/common/configure_fresh_system +++ b/common/configure_fresh_system @@ -55,6 +55,8 @@ ln -vfs "$DIR/.config/autostart/redshift-gtk.desktop" ~/.config/autostart/ mkdir -p ~/.config/vdirsyncer/ ln -vfs "$DIR/.config/vdirsyncer/config" ~/.config/vdirsyncer/ ln -vfs "$DIR/.config/redshift.conf" ~/.config/redshift.conf +mkdir -p ~/.config/Code/User +ln -vfs "$DIR/.config/Code/User/settings.json" ~/.config/Code/User/settings.json source ~/.setenv diff --git a/fedora/configure_fresh_system b/fedora/configure_fresh_system index 55a2b6ed..5d3b9682 100755 --- a/fedora/configure_fresh_system +++ b/fedora/configure_fresh_system @@ -29,6 +29,21 @@ if [[ -z $NO_SYSTEMCTL ]]; then sudo systemctl list-timers "*dnf-*" fi +mkdir -p ~/Downloads +cd ~/Downloads +rm -fv *code*.rpm +aria2c "https://go.microsoft.com/fwlink/?LinkID=760867" +sudo dnf -y install code*.rpm + +if [ "$(id -u)" != "0" ]; then + code --install-extension cssho.vscode-svgviewer + code --install-extension donjayamanne.python + code --install-extension saviorisdead.RustyCode + code --install-extension seanmcbreen.Spell + code --install-extension searKing.preview-vscode + code --install-extension vscodevim.vim +fi + if [[ -z $NO_COMPILE_VIM ]]; then VIM_BUILD_DIR=/tmp cd "$VIM_BUILD_DIR"