cross-platform

master
michael 2022-08-30 14:08:00 -07:00
parent 9e619c64b8
commit 54f30a3c4a
13 changed files with 942 additions and 10 deletions

View File

@ -1,17 +1,24 @@
<div align="center">
<h1>macOS setup</h1>
<br>
<p>Full circle it is, then.</p>
<br>
<img src="./neofetch.png" style="width:500px"/>
<br>
</div>
# Environment
## Software List (All FOSS)
Here, we may observe the turtlebasket in its natural habitat.
## MacOS
### Software List (All FOSS)
- [Rectangle](https://github.com/rxhanson/Rectanglehttps://github.com/rxhanson/Rectangle)
- [Hammerspoon](https://www.hammerspoon.org/)
- [Rectangle](https://github.com/rxhanson/Rectanglehttps://github.com/rxhanson/Rectangle)
- [MiddleClick](https://github.com/artginzburg/MiddleClick-BigSur)
- [Scroll Reverser](https://github.com/pilotmoon/Scroll-Reverser)
- [AltTab MacOS](https://github.com/lwouis/alt-tab-macos)
## Windows
### Software List
- AutoHotKey
- Windows Terminal
- ShareX
- Powershell Core
- WSL (native feature)

View File

@ -0,0 +1,123 @@
{
"final_space": true,
"console_title": false,
"console_title_style": "",
"blocks": [
{
"type": "newline",
"alignment": "",
"horizontal_offset": 0,
"vertical_offset": 0,
"segments": null
},
{
"type": "prompt",
"alignment": "left",
"horizontal_offset": 0,
"vertical_offset": 0,
"segments": [
{
"type": "os",
"style": "diamond",
"foreground": "black",
"background": "lightWhite",
"leading_diamond": "",
"trailing_diamond": "",
"powerline_symbol": "",
"invert_powerline": false,
"properties": null
},
{
"type": "path",
"style": "powerline",
"powerline_symbol": "",
"invert_powerline": false,
"foreground": "lightWhite",
"background": "blue",
"leading_diamond": "",
"trailing_diamond": "",
"properties": {
"prefix": "  ",
"style": "folder"
}
},
{
"type": "git",
"style": "powerline",
"powerline_symbol": "",
"invert_powerline": false,
"foreground": "black",
"background": "green",
"leading_diamond": "",
"trailing_diamond": "",
"properties": {
"display_stash_count": true,
"display_upstream_icon": true,
"color_background": true,
"status_colors_enabled": true,
"local_changes_color": "yellow",
"ahead_color": "purple",
"behind_color": "red"
}
},
{
"type": "root",
"style": "powerline",
"powerline_symbol": "",
"invert_powerline": false,
"foreground": "lightWhite",
"background": "cyan",
"leading_diamond": "",
"trailing_diamond": "",
"properties": null
},
{
"type": "exit",
"style": "diamond",
"powerline_symbol": "",
"invert_powerline": false,
"foreground": "lightWhite",
"background": "darkGray",
"leading_diamond": "",
"trailing_diamond": "",
"properties": {
"always_enabled": true,
"color_background": true,
"display_exit_code": false,
"error_color": "red",
"prefix": "\u003ctransparent\u003e\u003c/\u003e "
}
}
]
},
{
"type": "newline",
"alignment": "",
"horizontal_offset": 0,
"vertical_offset": 0,
"segments": null
},
{
"type": "prompt",
"alignment": "left",
"horizontal_offset": 0,
"vertical_offset": 0,
"segments": [
{
"type": "text",
"style": "plain",
"powerline_symbol": "",
"invert_powerline": false,
"foreground": "blue",
"background": "",
"leading_diamond": "",
"trailing_diamond": "",
"properties": {
"prefix": "",
"text": ""
}
}
]
}
]
}

View File

@ -0,0 +1,66 @@
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"horizontal_offset": 0,
"vertical_offset": 0,
"segments": [
{
"background": "background",
"foreground": "foreground",
"powerline_symbol": "",
"leading_diamond": "",
"trailing_diamond": "",
"properties": {
"prefix": "  ",
"style": "folder"
},
"style": "diamond",
"type": "path"
},
{
"background": "#fee761",
"foreground": "#262b44",
"powerline_symbol": "",
"properties": {
"display_stash_count": true,
"display_upstream_icon": true,
"status_colors_enabled": true,
"local_changes_color": "#f77622",
"ahead_and_behind_color": "#e43b44",
"behind_color": "#f77622",
"ahead_color": "#2ce8f5",
"stash_count_icon": "\uF692 "
},
"style": "powerline",
"type": "git"
},
{
"background": "#fee761",
"foreground": "#262b44",
"powerline_symbol": "",
"style": "powerline",
"type": "root"
},
{
"background": "#0095e9",
"foreground": "#ffffff",
"leading_diamond": "<transparent, #0095e9></>",
"properties": {
"always_enabled": true,
"color_background": true,
"display_exit_code": false,
"error_color": "#ff0044",
"prefix": " "
},
"style": "diamond",
"trailing_diamond": "",
"type": "exit"
}
],
"type": "prompt"
}
],
"final_space": true
}

View File

@ -0,0 +1,35 @@
# Refresh PATH variable
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
# Other env vars
$env:NEOVIM_CONFIG = $env:LOCALAPPDATA+"/nvim/init.vim"
Import-Module -Name Terminal-Icons
Import-Module posh-alias
Import-Module -Name PoshDirTitle
Import-Module oh-my-posh
Set-PoshPrompt -Theme stelbent.minimal
# Set-PoshPrompt -Theme star
# Set-PoshPrompt -Theme ~/.turtlebasket_omp2.json
Remove-Alias rm
Remove-Alias cp
Remove-Alias mv
Remove-Alias cat
Set-Alias vim gvim
# Set-Alias vim nvim-qt
Set-Alias nb 'C:\Program Files\Git\bin\bash.exe'
Set-Alias wb bash
Add-Alias lsu 'ls.exe --color'
Set-Alias l dir
Set-Alias d dir
# Path refreshing
Add-Alias refresh '$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User"); echo "Refreshed PATH."'
Set-PSReadLineOption -EditMode Emacs
Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete
Set-PSReadlineKeyHandler -Key UpArrow -Function HistorySearchBackward
Set-PSReadlineKeyHandler -Key DownArrow -Function HistorySearchForward
# Invoke-Expression (&starship init powershell)

76
config/vim-windows/_vimrc Normal file
View File

@ -0,0 +1,76 @@
" Win behavior
" source $VIMRUNTIME/mswin.vim
" behave mswin
" Window height
set lines=32 columns=110
" Preferences
set encoding=utf-8
set autochdir
set shiftwidth=4
set tabstop=4
set linebreak
set breakindent
set autoindent
set wrap
set conceallevel=0
set backspace=2
set backspace=indent,eol,start
set fileformat=unix
set fileformats=unix,dos
set nobinary
set relativenumber
syntax on
set shell=pwsh.exe
" Aliases
cnoreabbrev ge browse confirm e
cnoreabbrev ! aliasrun
" Plugins
call plug#begin()
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'airblade/vim-gitgutter'
Plug 'preservim/nerdtree'
Plug 'flazz/vim-colorschemes'
Plug 'tomlion/vim-solidity'
Plug 'zah/nim.vim'
Plug 'ycm-core/YouCompleteMe'
Plug 'NLKNguyen/papercolor-theme'
" Plug 'vim-syntastic/syntastic'
call plug#end()
" Theming
set t_Co=256
set guifont=Cascadia_Code_PL:h9
set background=dark
colorscheme PaperColor
let g:airline_powerline_fonts = 1
let g:airline_theme = 'powerlineish'
let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#tabline#fnamemod = ':t'
" Hide GVim Elements
set guioptions-=m
set guioptions-=T
set guioptions-=r
set guioptions-=L
set guioptions-=e
" Navigation & Shortcuts
" inoremap <C-c> "+y
" inoremap <C-v> <C-o>:"+p<CR>
nnoremap <C-n> :NERDTreeToggle<CR>
nnoremap <A-1> 1gt
nnoremap <A-2> 2gt
nnoremap <A-3> 3gt
nnoremap <A-4> 4gt
nnoremap <A-5> 5gt
nnoremap <A-6> 6gt
nnoremap <A-7> 7gt
nnoremap <A-8> 8gt
nnoremap <A-9> 9gt
nnoremap <A-0> 10gt

View File

@ -0,0 +1,598 @@
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions":
[
{
"command":
{
"action": "moveFocus",
"direction": "down"
},
"keys": "alt+j"
},
{
"command":
{
"action": "moveFocus",
"direction": "left"
},
"keys": "alt+h"
},
{
"command":
{
"action": "moveFocus",
"direction": "right"
},
"keys": "alt+l"
},
{
"command":
{
"action": "switchToTab",
"index": 0
},
"keys": "alt+1"
},
{
"command": "find",
"keys": "ctrl+shift+f"
},
{
"command":
{
"action": "nextTab"
},
"keys": "ctrl+tab"
},
{
"command":
{
"action": "switchToTab",
"index": 7
},
"keys": "alt+8"
},
{
"command":
{
"action": "copy",
"singleLine": false
},
"keys": "ctrl+c"
},
{
"command": "paste",
"keys": "ctrl+v"
},
{
"command":
{
"action": "moveFocus",
"direction": "up"
},
"keys": "alt+k"
},
{
"command":
{
"action": "splitPane",
"split": "auto",
"splitMode": "duplicate"
},
"keys": "alt+shift+d"
},
{
"command":
{
"action": "switchToTab",
"index": 1
},
"keys": "alt+2"
},
{
"command":
{
"action": "switchToTab",
"index": 4
},
"keys": "alt+5"
},
{
"command":
{
"action": "switchToTab",
"index": 2
},
"keys": "alt+3"
},
{
"command":
{
"action": "switchToTab",
"index": 3
},
"keys": "alt+4"
},
{
"command":
{
"action": "switchToTab",
"index": 5
},
"keys": "alt+6"
},
{
"command":
{
"action": "switchToTab",
"index": 6
},
"keys": "alt+7"
},
{
"command":
{
"action": "switchToTab",
"index": 8
},
"keys": "alt+9"
}
],
"alwaysShowTabs": true,
"copyFormatting": "none",
"copyOnSelect": false,
"defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
"disableAnimations": false,
"disabledProfileSources":
[
"Windows.Terminal.Azure"
],
"experimental.rendering.forceFullRepaint": true,
"initialCols": 160,
"initialRows": 38,
"launchMode": "default",
"profiles":
{
"defaults":
{
"acrylicOpacity": 0.73999999999999999,
"useAcrylic": true
},
"list":
[
{
"colorScheme": "Flatland",
"commandline": "C:\\Program Files\\Git\\bin\\bash.exe",
"cursorShape": "filledBox",
"font":
{
"face": "Cascadia Code",
"size": 9
},
"guid": "{3b433b11-c393-47ed-9421-bafebb058f6c}",
"icon": "\ud83c\udd71",
"name": "Git Bash",
"startingDirectory": "C:\\Users\\tb"
},
{
"commandline": "powershell.exe",
"cursorShape": "vintage",
"font":
{
"size": 9
},
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"hidden": false,
"name": "Windows PowerShell"
},
{
"commandline": "cmd.exe",
"cursorShape": "vintage",
"font":
{
"size": 9
},
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"hidden": false,
"name": "Command Prompt"
},
{
"acrylicOpacity": 0.75,
"colorScheme": "Argonaut",
"commandline": "cmd /c set POWERSHELL_UPDATECHECK=Off & pwsh.exe -nologo",
"cursorShape": "filledBox",
"font":
{
"face": "CaskaydiaCove NF",
"size": 9
},
"guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
"hidden": false,
"name": "PowerShell",
"source": "Windows.Terminal.PowershellCore",
"useAcrylic": true
},
{
"colorScheme": "Brogrammer",
"cursorShape": "filledBox",
"font":
{
"face": "CaskaydiaCove NF",
"size": 9
},
"guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
"hidden": false,
"name": "Ubuntu",
"source": "Windows.Terminal.Wsl"
},
{
"colorScheme": "Brogrammer",
"cursorShape": "filledBox",
"font":
{
"face": "CaskaydiaCove NF",
"size": 9
},
"guid": "{46ca431a-3a87-5fb3-83cd-11ececc031d2}",
"hidden": false,
"name": "kali-linux",
"source": "Windows.Terminal.Wsl",
"startingDirectory": "\\\\wsl$\\kali-linux\\home\\haxor"
}
]
},
"schemes":
[
{
"background": "#090300",
"black": "#090300",
"blue": "#01A0E4",
"brightBlack": "#5C5855",
"brightBlue": "#807D7C",
"brightCyan": "#CDAB53",
"brightGreen": "#3A3432",
"brightPurple": "#D6D5D4",
"brightRed": "#E8BBD0",
"brightWhite": "#F7F7F7",
"brightYellow": "#4A4543",
"cursorColor": "#A5A2A2",
"cyan": "#B5E4F4",
"foreground": "#A5A2A2",
"green": "#01A252",
"name": "3024 Night",
"purple": "#A16A94",
"red": "#DB2D20",
"selectionBackground": "#4A4543",
"white": "#A5A2A2",
"yellow": "#FDED02"
},
{
"background": "#0E1019",
"black": "#232323",
"blue": "#008DF8",
"brightBlack": "#444444",
"brightBlue": "#0092FF",
"brightCyan": "#67FFF0",
"brightGreen": "#ABE15B",
"brightPurple": "#9A5FEB",
"brightRed": "#FF2740",
"brightWhite": "#FFFFFF",
"brightYellow": "#FFD242",
"cursorColor": "#FFFAF4",
"cyan": "#00D8EB",
"foreground": "#FFFAF4",
"green": "#8CE10B",
"name": "Argonaut",
"purple": "#6D43A6",
"red": "#FF000F",
"selectionBackground": "#002A3B",
"white": "#FFFFFF",
"yellow": "#FFB900"
},
{
"background": "#161719",
"black": "#232323",
"blue": "#85BEFD",
"brightBlack": "#444444",
"brightBlue": "#96CBFE",
"brightCyan": "#85BEFD",
"brightGreen": "#94FA36",
"brightPurple": "#B9B6FC",
"brightRed": "#FD5FF1",
"brightWhite": "#E0E0E0",
"brightYellow": "#F5FFA8",
"cursorColor": "#D0D0D0",
"cyan": "#85BEFD",
"foreground": "#C5C8C6",
"green": "#87C38A",
"name": "Atom-Custom",
"purple": "#B9B6FC",
"red": "#FD5FF1",
"selectionBackground": "#5E5E5E",
"white": "#E0E0E0",
"yellow": "#FFD7B1"
},
{
"background": "#131313",
"black": "#1F1F1F",
"blue": "#2A84D2",
"brightBlack": "#D6DBE5",
"brightBlue": "#1081D6",
"brightCyan": "#0F7DDB",
"brightGreen": "#1DD361",
"brightPurple": "#5350B9",
"brightRed": "#DE352E",
"brightWhite": "#FFFFFF",
"brightYellow": "#F3BD09",
"cursorColor": "#B9B9B9",
"cyan": "#1081D6",
"foreground": "#D6DBE5",
"green": "#2DC55E",
"name": "Brogrammer",
"purple": "#4E5AB7",
"red": "#F81118",
"selectionBackground": "#1F1F1F",
"white": "#D6DBE5",
"yellow": "#ECBA0F"
},
{
"background": "#0C0C0C",
"black": "#0C0C0C",
"blue": "#0037DA",
"brightBlack": "#767676",
"brightBlue": "#3B78FF",
"brightCyan": "#61D6D6",
"brightGreen": "#16C60C",
"brightPurple": "#B4009E",
"brightRed": "#E74856",
"brightWhite": "#F2F2F2",
"brightYellow": "#F9F1A5",
"cursorColor": "#FFFFFF",
"cyan": "#3A96DD",
"foreground": "#CCCCCC",
"green": "#13A10E",
"name": "Campbell",
"purple": "#881798",
"red": "#C50F1F",
"selectionBackground": "#FFFFFF",
"white": "#CCCCCC",
"yellow": "#C19C00"
},
{
"background": "#012456",
"black": "#0C0C0C",
"blue": "#0037DA",
"brightBlack": "#767676",
"brightBlue": "#3B78FF",
"brightCyan": "#61D6D6",
"brightGreen": "#16C60C",
"brightPurple": "#B4009E",
"brightRed": "#E74856",
"brightWhite": "#F2F2F2",
"brightYellow": "#F9F1A5",
"cursorColor": "#FFFFFF",
"cyan": "#3A96DD",
"foreground": "#CCCCCC",
"green": "#13A10E",
"name": "Campbell Powershell",
"purple": "#881798",
"red": "#C50F1F",
"selectionBackground": "#FFFFFF",
"white": "#CCCCCC",
"yellow": "#C19C00"
},
{
"background": "#1D1F21",
"black": "#1D1D19",
"blue": "#5096BE",
"brightBlack": "#1D1D19",
"brightBlue": "#61B9D0",
"brightCyan": "#D63865",
"brightGreen": "#A7D42C",
"brightPurple": "#695ABC",
"brightRed": "#D22A24",
"brightWhite": "#FFFFFF",
"brightYellow": "#FF8949",
"cursorColor": "#708284",
"cyan": "#D63865",
"foreground": "#B8DBEF",
"green": "#9FD364",
"name": "Flatland",
"purple": "#695ABC",
"red": "#F18339",
"selectionBackground": "#2B2A24",
"white": "#FFFFFF",
"yellow": "#F4EF6D"
},
{
"background": "#282C34",
"black": "#282C34",
"blue": "#61AFEF",
"brightBlack": "#5A6374",
"brightBlue": "#61AFEF",
"brightCyan": "#56B6C2",
"brightGreen": "#98C379",
"brightPurple": "#C678DD",
"brightRed": "#E06C75",
"brightWhite": "#DCDFE4",
"brightYellow": "#E5C07B",
"cursorColor": "#FFFFFF",
"cyan": "#56B6C2",
"foreground": "#DCDFE4",
"green": "#98C379",
"name": "One Half Dark",
"purple": "#C678DD",
"red": "#E06C75",
"selectionBackground": "#FFFFFF",
"white": "#DCDFE4",
"yellow": "#E5C07B"
},
{
"background": "#FAFAFA",
"black": "#383A42",
"blue": "#0184BC",
"brightBlack": "#4F525D",
"brightBlue": "#61AFEF",
"brightCyan": "#56B5C1",
"brightGreen": "#98C379",
"brightPurple": "#C577DD",
"brightRed": "#DF6C75",
"brightWhite": "#FFFFFF",
"brightYellow": "#E4C07A",
"cursorColor": "#4F525D",
"cyan": "#0997B3",
"foreground": "#383A42",
"green": "#50A14F",
"name": "One Half Light",
"purple": "#A626A4",
"red": "#E45649",
"selectionBackground": "#FFFFFF",
"white": "#FAFAFA",
"yellow": "#C18301"
},
{
"background": "#002B36",
"black": "#002B36",
"blue": "#268BD2",
"brightBlack": "#073642",
"brightBlue": "#839496",
"brightCyan": "#93A1A1",
"brightGreen": "#586E75",
"brightPurple": "#6C71C4",
"brightRed": "#CB4B16",
"brightWhite": "#FDF6E3",
"brightYellow": "#657B83",
"cursorColor": "#FFFFFF",
"cyan": "#2AA198",
"foreground": "#839496",
"green": "#859900",
"name": "Solarized Dark",
"purple": "#D33682",
"red": "#DC322F",
"selectionBackground": "#FFFFFF",
"white": "#EEE8D5",
"yellow": "#B58900"
},
{
"background": "#FDF6E3",
"black": "#002B36",
"blue": "#268BD2",
"brightBlack": "#073642",
"brightBlue": "#839496",
"brightCyan": "#93A1A1",
"brightGreen": "#586E75",
"brightPurple": "#6C71C4",
"brightRed": "#CB4B16",
"brightWhite": "#FDF6E3",
"brightYellow": "#657B83",
"cursorColor": "#002B36",
"cyan": "#2AA198",
"foreground": "#657B83",
"green": "#859900",
"name": "Solarized Light",
"purple": "#D33682",
"red": "#DC322F",
"selectionBackground": "#FFFFFF",
"white": "#EEE8D5",
"yellow": "#B58900"
},
{
"background": "#000000",
"black": "#000000",
"blue": "#3465A4",
"brightBlack": "#555753",
"brightBlue": "#729FCF",
"brightCyan": "#34E2E2",
"brightGreen": "#8AE234",
"brightPurple": "#AD7FA8",
"brightRed": "#EF2929",
"brightWhite": "#EEEEEC",
"brightYellow": "#FCE94F",
"cursorColor": "#FFFFFF",
"cyan": "#06989A",
"foreground": "#D3D7CF",
"green": "#4E9A06",
"name": "Tango Dark",
"purple": "#75507B",
"red": "#CC0000",
"selectionBackground": "#FFFFFF",
"white": "#D3D7CF",
"yellow": "#C4A000"
},
{
"background": "#FFFFFF",
"black": "#000000",
"blue": "#3465A4",
"brightBlack": "#555753",
"brightBlue": "#729FCF",
"brightCyan": "#34E2E2",
"brightGreen": "#8AE234",
"brightPurple": "#AD7FA8",
"brightRed": "#EF2929",
"brightWhite": "#EEEEEC",
"brightYellow": "#FCE94F",
"cursorColor": "#000000",
"cyan": "#06989A",
"foreground": "#555753",
"green": "#4E9A06",
"name": "Tango Light",
"purple": "#75507B",
"red": "#CC0000",
"selectionBackground": "#FFFFFF",
"white": "#D3D7CF",
"yellow": "#C4A000"
},
{
"background": "#000000",
"black": "#000000",
"blue": "#000080",
"brightBlack": "#808080",
"brightBlue": "#0000FF",
"brightCyan": "#00FFFF",
"brightGreen": "#00FF00",
"brightPurple": "#FF00FF",
"brightRed": "#FF0000",
"brightWhite": "#FFFFFF",
"brightYellow": "#FFFF00",
"cursorColor": "#FFFFFF",
"cyan": "#008080",
"foreground": "#C0C0C0",
"green": "#008000",
"name": "Vintage",
"purple": "#800080",
"red": "#800000",
"selectionBackground": "#FFFFFF",
"white": "#C0C0C0",
"yellow": "#808000"
},
{
"background": "#090909",
"black": "#000000",
"blue": "#5665FF",
"brightBlack": "#535353",
"brightBlue": "#9FA9FF",
"brightCyan": "#8DF9FF",
"brightGreen": "#22FF18",
"brightPurple": "#E09AFF",
"brightRed": "#FB0007",
"brightWhite": "#FFFFFF",
"brightYellow": "#FEDC2B",
"cursorColor": "#D0D0D0",
"cyan": "#50D2DA",
"foreground": "#CDCDCD",
"green": "#1CD915",
"name": "deep",
"purple": "#B052DA",
"red": "#D70005",
"selectionBackground": "#780002",
"white": "#E0E0E0",
"yellow": "#D9BD26"
}
],
"showTabsInTitlebar": true,
"tabSwitcherMode": "disabled",
"tabWidthMode": "equal",
"theme": "dark",
"windowingBehavior": "useNew"
}

View File

@ -0,0 +1,8 @@
mkdir Debloaters
iwr "https://raw.githubusercontent.com/Sycnex/Windows10Debloater/master/Windows10DebloaterGUI.ps1" -o Debloaters/Windows10DebloaterGUI.ps1
scoop install windowsspyblocker
Write-Output @"
Actions:
1. Download Windows 10 Debloater GUI (https://github.com/Sycnex/Windows10Debloater)
2. Install WindowsSpyBlocker via scoop (https://github.com/crazy-max/WindowsSpyBlocker)
"@

View File

@ -0,0 +1,19 @@
# SETUP SCRIPT. RUN IN POWERSHELL CORE.
# Disable Telemetry/Connected Experience Service
Set-Service DiagTrack -StartupType Disabled
# Install Modules
Install-Module PSReadLine -Scope CurrentUser
Install-Module posh-git -Scope CurrentUser
Install-Module oh-my-posh -Scope CurrentUser
# Install Chocolatey
Write-Output "Install Chocolatey."
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
# Get MesloLGS NerdFont
Write-Output "Install MesloLGS NerdFont"
iwr "https://github.com/romkatv/dotfiles-public/raw/master/.local/share/fonts/NerdFonts/MesloLGS%20NF%20Regular.ttf" -o MesloLGS_NF.ttf ; .\MesloLGS_NF.ttf
# WSL2 coming soon to non-insiders windows releases. Figure out installation once it's here.