Skip to content

Commit 58b0926

Browse files
Update setup.ps1
Update text
1 parent 177f15a commit 58b0926

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

current/setup.ps1

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1173,11 +1173,11 @@ public class PInvoke {
11731173
DO {
11741174
# List options
11751175
Write-Output "`n1. Add items to bin"
1176-
Write-Output "2. Install fastfetch"
1177-
Write-Output "3. Install ntop"
1178-
Write-Output "4. Install btop"
1179-
Write-Output "5. Install gping"
1180-
Write-Output "6. Install genact"
1176+
Write-Output "2. fastfetch"
1177+
Write-Output "3. ntop"
1178+
Write-Output "4. btop"
1179+
Write-Output "5. gping"
1180+
Write-Output "6. genact"
11811181
Write-Output "7. Text editors"
11821182
Write-Output "8. Qemu"
11831183
# Prompt user for input
@@ -1215,7 +1215,7 @@ public class PInvoke {
12151215
}
12161216
}
12171217
2 { # Get fastfetch
1218-
$Install = $Host.UI.PromptForChoice("Install fastfetch?", "", @("&Cancel", "&Install", "&Uninstall"), 0)
1218+
$Install = $Host.UI.PromptForChoice("fastfetch:", "", @("&Cancel", "&Install", "&Uninstall"), 0)
12191219
if ($Install -eq 1) {
12201220
CREATE_BIN
12211221
Write-Output "Fetching latest version information..."
@@ -1241,8 +1241,8 @@ public class PInvoke {
12411241
Write-Output "Done!"
12421242
}
12431243
}
1244-
3 { # Get HTop
1245-
$Install = $Host.UI.PromptForChoice("Install ntop?", "", @("&Cancel", "&Install", "&Uninstall"), 0)
1244+
3 { # Get NTop
1245+
$Install = $Host.UI.PromptForChoice("ntop:", "", @("&Cancel", "&Install", "&Uninstall"), 0)
12461246
if ($Install -eq 1) {
12471247
CREATE_BIN
12481248
Write-Output "Fetching latest version information..."
@@ -1264,7 +1264,7 @@ public class PInvoke {
12641264
}
12651265
}
12661266
4 { # Get btop
1267-
$Install = $Host.UI.PromptForChoice("Install btop?", "", @("&Cancel", "&Install", "&Uninstall"), 0)
1267+
$Install = $Host.UI.PromptForChoice("btop:", "", @("&Cancel", "&Install", "&Uninstall"), 0)
12681268
if ($Install -eq 1) {
12691269
CREATE_BIN
12701270
Write-Output "Fetching latest version information..."
@@ -1291,7 +1291,7 @@ public class PInvoke {
12911291
}
12921292
}
12931293
5 { # Get gping
1294-
$Install = $Host.UI.PromptForChoice("Install gping?", "", @("&Cancel", "&Install", "&Uninstall"), 0)
1294+
$Install = $Host.UI.PromptForChoice("gping:", "", @("&Cancel", "&Install", "&Uninstall"), 0)
12951295
if ($Install -eq 1) {
12961296
CREATE_BIN
12971297
Write-Output "Fetching latest version information..."
@@ -1320,7 +1320,7 @@ public class PInvoke {
13201320
}
13211321
}
13221322
6 { # genact
1323-
$Install = $Host.UI.PromptForChoice("Install genact?", "", @("&Cancel", "&Install", "&Uninstall"), 0)
1323+
$Install = $Host.UI.PromptForChoice("genact:", "", @("&Cancel", "&Install", "&Uninstall"), 0)
13241324
if ($Install -eq 1) {
13251325
CREATE_BIN
13261326
Write-Output "Fetching latest version information..."
@@ -1342,15 +1342,15 @@ public class PInvoke {
13421342
}
13431343
7 { # Text editors
13441344
# List choices
1345-
Write-Output "`n1. Install vim"
1346-
Write-Output "2. Install neovim"
1347-
Write-Output "3. Install micro"
1348-
Write-Output "4. Install nano"
1345+
Write-Output "`n1. vim"
1346+
Write-Output "2. neovim"
1347+
Write-Output "3. micro"
1348+
Write-Output "4. nano"
13491349
# Prompt user for input
13501350
$TEdit = Read-Host "`nInput the number of an option from the list above, or leave blank to exit"
13511351
switch ($TEdit) {
13521352
1 { # vim
1353-
$Install = $Host.UI.PromptForChoice("Install vim?", "", @("&Cancel", "&Install", "&Uninstall"), 0)
1353+
$Install = $Host.UI.PromptForChoice("vim:", "", @("&Cancel", "&Install", "&Uninstall"), 0)
13541354
if ($Install -eq 1) {
13551355
CREATE_BIN
13561356
Write-Output "Fetching latest version information..."
@@ -1379,7 +1379,7 @@ public class PInvoke {
13791379
}
13801380
}
13811381
2 { # neovim
1382-
$Install = $Host.UI.PromptForChoice("Install neovim?", "", @("&Cancel", "&Install", "&Uninstall"), 0)
1382+
$Install = $Host.UI.PromptForChoice("neovim:", "", @("&Cancel", "&Install", "&Uninstall"), 0)
13831383
if ($Install -eq 1) {
13841384
CREATE_BIN
13851385
if (test-path "$HOME\bin\neovim.ps1") {
@@ -1408,7 +1408,7 @@ public class PInvoke {
14081408
}
14091409
}
14101410
3 { # micro
1411-
$Install = $Host.UI.PromptForChoice("Install micro?", "", @("&Cancel", "&Install", "&Uninstall"), 0)
1411+
$Install = $Host.UI.PromptForChoice("micro:", "", @("&Cancel", "&Install", "&Uninstall"), 0)
14121412
if ($Install -eq 1) {
14131413
CREATE_BIN
14141414
Write-Output "Fetching latest version information..."
@@ -1435,7 +1435,7 @@ public class PInvoke {
14351435
}
14361436
}
14371437
4 { # nano
1438-
$Install = $Host.UI.PromptForChoice("Install nano?", "", @("&Cancel", "&Install", "&Uninstall"), 0)
1438+
$Install = $Host.UI.PromptForChoice("nano:", "", @("&Cancel", "&Install", "&Uninstall"), 0)
14391439
if ($Install -eq 1) {
14401440
CREATE_BIN
14411441
if (test-path "$HOME\bin\nano.ps1") {
@@ -1463,7 +1463,7 @@ public class PInvoke {
14631463
}
14641464
}
14651465
8 { # QEMU
1466-
$Install = $Host.UI.PromptForChoice("Install QEMU?", "", @("&Cancel", "&Install", "&Uninstall"), 0)
1466+
$Install = $Host.UI.PromptForChoice("QEMU:", "", @("&Cancel", "&Install", "&Uninstall"), 0)
14671467
if ($Install -eq 1) {
14681468
if (test-path "$HOME\qemu") {
14691469
Write-Output "Removing old version..."

0 commit comments

Comments
 (0)