Merge pull request #82 from cyplo/vscode_linux

Vscode linux
This commit is contained in:
Cyryl Płotnicki 2016-11-25 22:46:30 +01:00 committed by GitHub
commit 599cbbfbd1
3 changed files with 28 additions and 0 deletions

View file

@ -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/"
}

View file

@ -55,6 +55,8 @@ ln -vfs "$DIR/.config/autostart/redshift-gtk.desktop" ~/.config/autostart/
mkdir -p ~/.config/vdirsyncer/ mkdir -p ~/.config/vdirsyncer/
ln -vfs "$DIR/.config/vdirsyncer/config" ~/.config/vdirsyncer/ ln -vfs "$DIR/.config/vdirsyncer/config" ~/.config/vdirsyncer/
ln -vfs "$DIR/.config/redshift.conf" ~/.config/redshift.conf 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 source ~/.setenv

View file

@ -29,6 +29,21 @@ if [[ -z $NO_SYSTEMCTL ]]; then
sudo systemctl list-timers "*dnf-*" sudo systemctl list-timers "*dnf-*"
fi 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 if [[ -z $NO_COMPILE_VIM ]]; then
VIM_BUILD_DIR=/tmp VIM_BUILD_DIR=/tmp
cd "$VIM_BUILD_DIR" cd "$VIM_BUILD_DIR"