This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Provisioning WSL Ubuntu 1804" | |
# This script needs to be repeatable ! | |
WindowsHome="{{home_folder}}" | |
function addCdAlias() { | |
name="$1" | |
path="$2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(!(Get-Command git -ErrorAction SilentlyContinue)) { | |
$gitDir = "$env:LOCALAPPDATA\CustomGit" | |
if(Test-Path $gitDir) { Remove-Item -Path $gitDir -Recurse -Force } | |
New-Item -Path $gitDir -ItemType Directory | |
$gitLatestReleaseApi = (Invoke-WebRequest -UseBasicParsing https://api.github.com/repos/git-for-windows/git/releases/latest).Content | ConvertFrom-Json | |
$mingitObject = $gitLatestReleaseApi.assets ` | |
| Where-Object {$_.name -match "MinGit-[\d.]*?-64-bit.zip"} ` | |
| Select-Object browser_download_url |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"extensions": [ | |
"aaron-bond.better-comments", | |
"mrmlnc.vscode-duplicate", | |
"pkief.material-icon-theme", | |
"miguelsolorio.min-theme", | |
"sdras.night-owl", | |
"ms-vscode.powershell", | |
"mechatroner.rainbow-csv", | |
"ms-vscode-remote.remote-ssh", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// To view the default settings, hold "alt" while clicking on the "Settings" button. | |
// For documentation on these settings, see: https://aka.ms/terminal-documentation | |
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"": "https://aka.ms/terminal-profiles-schema", | |
"defaultProfile": "{c6eaf9f4-32a7-5fdc-b5cf-066e8a4b1e40}", | |
"launchMode": "maximized", | |
"profiles": | |
{ | |
"defaults": |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# call this from inside the /themes folder of https://github.com/Mayccoll/Gogh | |
# do not place this as .sh file into /themes as this leads to double execution | |
createColors() { | |
source $1 | |
# White -> brightWhite | |
# Light gray -> white |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
Description: Boxstarter script for a development machine with VS 2019 and Ubuntu WSL with nix | |
Author: https://github.com/rapgru | |
Last Updated: 23.04.2020 | |
#> | |
# ---- Init ---- # | |
Update-ExecutionPolicy Unrestricted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2019-08-01T04:17:44.872Z","extensionVersion":"v3.4.1"} |