-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
install.ps1
96 lines (72 loc) · 2.81 KB
/
install.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
winget install -e JanDeDobbeleer.OhMyPosh
winget install -e Git.Git
winget install -e GitHub.cli
winget install -e --id Microsoft.AzureCLI
winget install -e --id Microsoft.AzureStorageExplorer
winget install -e --id Docker.DockerDesktop
winget install -e vscode
winget install -e --id Microsoft.SQLServerManagementStudio
winget install -e --id Mirantis.Lens
winget install -e --id Notepad++.Notepad++
winget install -e --id Microsoft.AzureDataStudio
winget install -e --id Microsoft.VisualStudio.Enterprise
winget install -e --id Microsoft.PowerBI
winget install -e --id Microsoft.PowerShell
winget install -e --id Microsoft.PowerToys
winget install -e --id Postman.Postman
winget install -e --id WhatsApp.WhatsApp
winget install -e --id AgileBits.1Password
winget install -e --id TortoiseGit.TortoiseGit
winget install -e --id Inkscape.Inkscape
winget install -e --id Telerik.FiddlerEverywhere
winget install -e --id Keybase.Keybase
winget install -e --id Canonical.Ubuntu
winget install -e --id 7zip.7zip
winget install -e --id clsid2.mpc-hc
winget install -e royalts
winget install -e --id JGraph.Draw # draw.io
# install NVM
winget install -e Microsoft.DotNet.SDK.6
winget install -e Microsoft.DotNet.SDK.7
winget install -e Microsoft.DotNet.SDK.8
winget install -e Microsoft.DotNet.SDK.Preview
dotnet tool install --global PowerShell
dotnet tool install --global dotnet-ef
choco install devtoys
winget install Dapr.CLI
# winget list
# winget upgrade --all
# download fonts from
# https://github.com/githubnext/monaspace#monaspace
#
# install fonts
# set font in vs code (should sync)
# "editor.fontFamily": "'CaskaydiaCove NF', Consolas, 'Courier New', monospace",
# set font in terminal
Install-Module -Name Terminal-Icons -Repository PSGallery
Install-Module PSReadLine -RequiredVersion 2.2.5 -Force
install-module z -AllowClobber
code $profile
and place below in it
. "C:\prompt\Microsoft.PowerShell_profile.ps1"
# install https://www.gpg4win.org/
winget install -e --id GnuPG.Gpg4win
git config --global gpg.program "C:\Program Files (x86)\GnuPG\bin\gpg.exe"
git config --global user.name "xxxxxxx"
git config --global user.email "xxxxxxx"
git config --global user.signkey "xxxxxxxxxxx"
# git config --global gpg.program "C:\Program Files\Git\usr\bin\gpg.exe"
git config --global tag.forceSignAnnotated true
git config --global init.defaultbranch main
git config --global commit.gpgsign true
git config --global --add safe.directory C:/prompt
# In Ubuntu
______ 1 ______
Add the following to your ~/.bashrc:
# Avoid duplicates
HISTCONTROL=ignoredups:erasedups
# When the shell exits, append to the history file instead of overwriting it
shopt -s histappend
# After each command, append to the history file and reread it
PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a; history -c; history -r"
______ 1 ______