diff --git a/Documents/PowerShell/aliases.ps1 b/Documents/PowerShell/aliases.ps1 index d3637de..0002561 100644 --- a/Documents/PowerShell/aliases.ps1 +++ b/Documents/PowerShell/aliases.ps1 @@ -1,32 +1,45 @@ # Unix like pwd if (Test-Path alias:pwd) { - Remove-Alias -Name pwd - } - Function pwd {(Get-Location).Path} + Remove-Alias -Name pwd +} +Function pwd { (Get-Location).Path } - # Change to dotfiles directory - if (Test-Path alias:dotfolder) { - Remove-Alias -Name dotfolder +# Change to dotfiles directory +if (Test-Path alias:dotfolder) { + Remove-Alias -Name dotfolder +} +Function dotfolder { Set-Location ~/.local/share/chezmoi } + +if (Test-Path alias:dotcommit) { + Remove-Alias -Name dotcommit +} + +Function dotcommit { + # Export installed apps to file + . ~/Documents/PowerShell/installed-apps.ps1 + + # If no arguments are passed, use the default message + if ($args.Length -eq 0) { + $message = "Update dotfiles" } - Function dotfolder {Set-Location ~/.local/share/chezmoi} - - if (Test-Path alias:dotcommit) { - Remove-Alias -Name dotcommit + else { + $message = $args -join " " } + chezmoi re-add + chezmoi diff + chezmoi git -- commit -a -m $message + chezmoi git -- push + chezmoi apply +} - Function dotcommit { - # Export installed apps to file - . ~/Documents/PowerShell/installed-apps.ps1 +# Replace cat with bat +if (Test-Path alias:cat) { + Remove-Alias -Name cat +} +Set-Alias -Name cat -Value bat - # If no arguments are passed, use the default message - if ($args.Length -eq 0) { - $message = "Update dotfiles" - } else { - $message = $args -join " " - } - chezmoi re-add - chezmoi diff - chezmoi git -- commit -a -m $message - chezmoi git -- push - chezmoi apply - } \ No newline at end of file +# Replace ls with exa +if (Test-Path alias:ls) { + Remove-Alias -Name ls +} +Set-Alias -Name ls -Value exa \ No newline at end of file diff --git a/Documents/PowerShell/completions.ps1 b/Documents/PowerShell/completions.ps1 index 5275bbf..4eee82d 100644 --- a/Documents/PowerShell/completions.ps1 +++ b/Documents/PowerShell/completions.ps1 @@ -7,4 +7,6 @@ if (Get-Command chezmoi -ErrorAction SilentlyContinue) { chezmoi completion powe # Github CLI Invoke-Expression -Command $(gh completion -s powershell | Out-String) # gsudo -Import-Module gsudoModule \ No newline at end of file +Import-Module gsudoModule +# zoxide +Invoke-Expression (& { (zoxide init powershell | Out-String) }) \ No newline at end of file diff --git a/scoop/apps.json b/scoop/apps.json index 703e5b2..3a43912 100644 --- a/scoop/apps.json +++ b/scoop/apps.json @@ -56,6 +56,13 @@ "Updated": "2024-02-03T17:13:31.5588059-04:00", "Version": "2.8.1" }, + { + "Info": "", + "Name": "bat", + "Source": "main", + "Updated": "2024-02-15T16:40:42.3436271-04:00", + "Version": "0.24.0" + }, { "Info": "", "Name": "bc", @@ -65,10 +72,10 @@ }, { "Info": "", - "Name": "dosbox-x", + "Name": "86box", "Source": "extras", - "Updated": "2024-02-06T04:49:08.7210139-04:00", - "Version": "2023.10.06" + "Updated": "2024-02-06T04:48:13.661004-04:00", + "Version": "4.0.1" }, { "Info": "", @@ -142,10 +149,17 @@ }, { "Info": "", - "Name": "86box", + "Name": "bgb", + "Source": "games", + "Updated": "2024-02-06T04:57:08.1163119-04:00", + "Version": "1.6.1" + }, + { + "Info": "", + "Name": "draw.io", "Source": "extras", - "Updated": "2024-02-06T04:48:13.661004-04:00", - "Version": "4.0.1" + "Updated": "2024-02-03T16:33:32.6347176-04:00", + "Version": "23.0.2" }, { "Info": "", @@ -154,13 +168,6 @@ "Updated": "2024-02-10T23:25:17.2629048-04:00", "Version": "7.5.1" }, - { - "Info": "", - "Name": "capframex", - "Source": "extras", - "Updated": "2024-02-06T03:53:54.4176589-04:00", - "Version": "1.7.2" - }, { "Info": "", "Name": "CascadiaCode-NF", @@ -168,13 +175,6 @@ "Updated": "2024-01-31T16:23:12.6575145-04:00", "Version": "3.1.1" }, - { - "Info": "", - "Name": "cemu-dev", - "Source": "games", - "Updated": "2024-02-06T04:03:21.4765101-04:00", - "Version": "2.0-65" - }, { "Info": "", "Name": "cheat-engine", @@ -233,10 +233,17 @@ }, { "Info": "", - "Name": "bgb", - "Source": "games", - "Updated": "2024-02-06T04:57:08.1163119-04:00", - "Version": "1.6.1" + "Name": "cc65", + "Source": "main", + "Updated": "2024-02-13T17:29:41.1418856-04:00", + "Version": "7871266729" + }, + { + "Info": "", + "Name": "capframex", + "Source": "extras", + "Updated": "2024-02-06T03:53:54.4176589-04:00", + "Version": "1.7.2" }, { "Info": "", @@ -245,13 +252,6 @@ "Updated": "2024-02-08T15:06:29.824753-04:00", "Version": "3.1.1" }, - { - "Info": "", - "Name": "cryptomator", - "Source": "extras", - "Updated": "2024-02-07T17:56:47.5030843-04:00", - "Version": "1.12.0" - }, { "Info": "", "Name": "crystaldiskinfo", @@ -303,10 +303,10 @@ }, { "Info": "", - "Name": "cc65", - "Source": "main", - "Updated": "2024-02-13T17:29:41.1418856-04:00", - "Version": "7871266729" + "Name": "dosbox-x", + "Source": "extras", + "Updated": "2024-02-06T04:49:08.7210139-04:00", + "Version": "2023.10.06" }, { "Info": "", @@ -317,10 +317,17 @@ }, { "Info": "", - "Name": "draw.io", + "Name": "cryptomator", "Source": "extras", - "Updated": "2024-02-03T16:33:32.6347176-04:00", - "Version": "23.0.2" + "Updated": "2024-02-07T17:56:47.5030843-04:00", + "Version": "1.12.0" + }, + { + "Info": "", + "Name": "zoxide", + "Source": "main", + "Updated": "2024-02-15T16:41:14.220726-04:00", + "Version": "0.9.3" }, { "Info": "", @@ -329,13 +336,6 @@ "Updated": "2024-02-06T05:37:33.0514394-04:00", "Version": "1.50" }, - { - "Info": "", - "Name": "DroidSansMono-NF", - "Source": "nerd-fonts", - "Updated": "2024-02-08T15:06:58.2708665-04:00", - "Version": "3.1.1" - }, { "Info": "", "Name": "duckstation", @@ -343,13 +343,6 @@ "Updated": "2024-02-07T17:56:48.8052958-04:00", "Version": "20240206-g0bc42c3" }, - { - "Info": "", - "Name": "element", - "Source": "extras", - "Updated": "2024-02-13T17:29:51.490865-04:00", - "Version": "1.11.58" - }, { "Info": "", "Name": "everything", @@ -357,6 +350,13 @@ "Updated": "2024-02-03T16:33:43.777863-04:00", "Version": "1.4.1.1024" }, + { + "Info": "", + "Name": "eza", + "Source": "main", + "Updated": "2024-02-15T16:44:25.4120072-04:00", + "Version": "0.18.3" + }, { "Info": "", "Name": "feishin", @@ -401,24 +401,24 @@ }, { "Info": "", - "Name": "gitkraken", - "Source": "extras", - "Updated": "2024-02-15T03:11:05.7668556-04:00", - "Version": "9.12.0" + "Name": "flycast", + "Source": "games", + "Updated": "2024-02-06T04:44:10.65827-04:00", + "Version": "2.2" }, { "Info": "", - "Name": "go", - "Source": "main", - "Updated": "2024-02-07T17:57:19.9428404-04:00", - "Version": "1.22.0" + "Name": "element", + "Source": "extras", + "Updated": "2024-02-13T17:29:51.490865-04:00", + "Version": "1.11.58" }, { "Info": "", - "Name": "freac", + "Name": "fontbase", "Source": "extras", - "Updated": "2024-02-06T05:44:47.4193348-04:00", - "Version": "1.1.7" + "Updated": "2024-02-08T14:28:56.7870685-04:00", + "Version": "2.20.7" }, { "Info": "", @@ -478,17 +478,24 @@ }, { "Info": "", - "Name": "flycast", - "Source": "games", - "Updated": "2024-02-06T04:44:10.65827-04:00", - "Version": "2.2" + "Name": "gitkraken", + "Source": "extras", + "Updated": "2024-02-15T03:11:05.7668556-04:00", + "Version": "9.12.0" }, { "Info": "", - "Name": "k-lite-codec-pack-basic-np", - "Source": "nonportable", - "Updated": "2024-02-06T05:17:39.1373384-04:00", - "Version": "18.0.5" + "Name": "freac", + "Source": "extras", + "Updated": "2024-02-06T05:44:47.4193348-04:00", + "Version": "1.1.7" + }, + { + "Info": "", + "Name": "go", + "Source": "main", + "Updated": "2024-02-07T17:57:19.9428404-04:00", + "Version": "1.22.0" }, { "Info": "", @@ -499,17 +506,10 @@ }, { "Info": "", - "Name": "hyperfine", - "Source": "main", - "Updated": "2023-11-12T20:05:20.9789103-04:00", - "Version": "1.18.0" - }, - { - "Info": "", - "Name": "gpu-z", + "Name": "godot-mono", "Source": "extras", - "Updated": "2024-02-03T17:18:56.0989428-04:00", - "Version": "2.57.0" + "Updated": "2024-02-03T18:10:27.6907842-04:00", + "Version": "4.2.1" }, { "Info": "", @@ -569,24 +569,24 @@ }, { "Info": "", - "Name": "kdenlive", + "Name": "hxd", "Source": "extras", - "Updated": "2024-02-03T18:07:41.1490778-04:00", - "Version": "23.08.4" + "Updated": "2024-02-03T17:18:15.6674229-04:00", + "Version": "2.5.0.0" }, { "Info": "", - "Name": "godot-mono", + "Name": "gpu-z", "Source": "extras", - "Updated": "2024-02-03T18:10:27.6907842-04:00", - "Version": "4.2.1" + "Updated": "2024-02-03T17:18:56.0989428-04:00", + "Version": "2.57.0" }, { "Info": "", - "Name": "imagemagick", + "Name": "hyperfine", "Source": "main", - "Updated": "2024-02-13T17:30:39.5644838-04:00", - "Version": "7.1.1-28" + "Updated": "2023-11-12T20:05:20.9789103-04:00", + "Version": "1.18.0" }, { "Info": "", @@ -646,17 +646,31 @@ }, { "Info": "", - "Name": "hxd", - "Source": "extras", - "Updated": "2024-02-03T17:18:15.6674229-04:00", - "Version": "2.5.0.0" + "Name": "k-lite-codec-pack-basic-np", + "Source": "nonportable", + "Updated": "2024-02-06T05:17:39.1373384-04:00", + "Version": "18.0.5" }, { "Info": "", - "Name": "fontbase", + "Name": "imagemagick", + "Source": "main", + "Updated": "2024-02-13T17:30:39.5644838-04:00", + "Version": "7.1.1-28" + }, + { + "Info": "", + "Name": "cemu-dev", + "Source": "games", + "Updated": "2024-02-06T04:03:21.4765101-04:00", + "Version": "2.0-65" + }, + { + "Info": "", + "Name": "kdenlive", "Source": "extras", - "Updated": "2024-02-08T14:28:56.7870685-04:00", - "Version": "2.20.7" + "Updated": "2024-02-03T18:07:41.1490778-04:00", + "Version": "23.08.4" }, { "Info": "", @@ -667,17 +681,10 @@ }, { "Info": "", - "Name": "rpcs3", - "Source": "games", - "Updated": "2024-02-15T03:11:36.251787-04:00", - "Version": "0.0.30-16110" - }, - { - "Info": "", - "Name": "lapce", - "Source": "extras", - "Updated": "2024-02-08T14:24:25.9363605-04:00", - "Version": "0.3.1" + "Name": "keyboardstateview", + "Source": "nirsoft", + "Updated": "2024-02-08T15:01:44.2873454-04:00", + "Version": "1.00" }, { "Info": "", @@ -686,6 +693,13 @@ "Updated": "2023-11-03T21:21:01.5862286-03:00", "Version": "0.40.2" }, + { + "Info": "", + "Name": "less", + "Source": "main", + "Updated": "2024-02-15T16:40:46.9446265-04:00", + "Version": "643" + }, { "Info": "", "Name": "llvm", @@ -730,10 +744,17 @@ }, { "Info": "", - "Name": "produkey", - "Source": "nirsoft", - "Updated": "2024-02-08T15:02:40.7177599-04:00", - "Version": "1.97" + "Name": "notepadplusplus", + "Source": "extras", + "Updated": "2024-02-03T17:20:45.0441033-04:00", + "Version": "8.6.2" + }, + { + "Info": "", + "Name": "lapce", + "Source": "extras", + "Updated": "2024-02-08T14:24:25.9363605-04:00", + "Version": "0.3.1" }, { "Info": "", @@ -742,13 +763,6 @@ "Updated": "2024-01-31T15:25:11.2938777-04:00", "Version": "24.1" }, - { - "Info": "", - "Name": "mo2", - "Source": "games", - "Updated": "2024-02-06T03:42:36.5828669-04:00", - "Version": "2.5.0" - }, { "Info": "", "Name": "mp3tag", @@ -807,10 +821,17 @@ }, { "Info": "", - "Name": "krita", + "Name": "mkvtoolnix", "Source": "extras", - "Updated": "2024-02-03T17:21:19.6918518-04:00", - "Version": "5.2.2" + "Updated": "2024-02-03T16:31:58.2198213-04:00", + "Version": "82.0" + }, + { + "Info": "", + "Name": "mo2", + "Source": "games", + "Updated": "2024-02-06T03:42:36.5828669-04:00", + "Version": "2.5.0" }, { "Info": "", @@ -819,13 +840,6 @@ "Updated": "2024-01-04T21:30:20.3549963-04:00", "Version": "0.9.5" }, - { - "Info": "", - "Name": "notepadplusplus", - "Source": "extras", - "Updated": "2024-02-03T17:20:45.0441033-04:00", - "Version": "8.6.2" - }, { "Info": "", "Name": "nvm", @@ -833,6 +847,13 @@ "Updated": "2023-11-24T06:51:07.8699591-04:00", "Version": "1.1.12" }, + { + "Info": "", + "Name": "ps3-system-software", + "Source": "games", + "Updated": "2024-02-06T04:01:05.8508012-04:00", + "Version": "4.90" + }, { "Info": "", "Name": "obsidian", @@ -898,10 +919,10 @@ }, { "Info": "", - "Name": "mkvtoolnix", + "Name": "obs-studio", "Source": "extras", - "Updated": "2024-02-03T16:31:58.2198213-04:00", - "Version": "82.0" + "Updated": "2024-02-03T16:59:45.4196094-04:00", + "Version": "30.0.2" }, { "Info": "", @@ -968,10 +989,10 @@ }, { "Info": "", - "Name": "obs-studio", - "Source": "extras", - "Updated": "2024-02-03T16:59:45.4196094-04:00", - "Version": "30.0.2" + "Name": "produkey", + "Source": "nirsoft", + "Updated": "2024-02-08T15:02:40.7177599-04:00", + "Version": "1.97" }, { "Info": "", @@ -980,13 +1001,6 @@ "Updated": "2024-02-08T23:18:43.7803149-04:00", "Version": "2.11" }, - { - "Info": "", - "Name": "ps3-system-software", - "Source": "games", - "Updated": "2024-02-06T04:01:05.8508012-04:00", - "Version": "4.90" - }, { "Info": "", "Name": "pulsar", @@ -994,6 +1008,13 @@ "Updated": "2024-02-03T16:38:02.0371477-04:00", "Version": "1.113.0" }, + { + "Info": "", + "Name": "DroidSansMono-NF", + "Source": "nerd-fonts", + "Updated": "2024-02-08T15:06:58.2708665-04:00", + "Version": "3.1.1" + }, { "Info": "", "Name": "pwsh", @@ -1003,24 +1024,10 @@ }, { "Info": "", - "Name": "qbittorrent", + "Name": "telegram", "Source": "extras", - "Updated": "2024-02-08T17:14:17.0475387-04:00", - "Version": "4.6.3" - }, - { - "Info": "", - "Name": "qtifw", - "Source": "main", - "Updated": "2024-02-03T17:13:28.9912075-04:00", - "Version": "4.6.1" - }, - { - "Info": "", - "Name": "r2modman", - "Source": "games", - "Updated": "2024-02-06T03:29:55.098339-04:00", - "Version": "3.1.46" + "Updated": "2024-02-06T05:14:26.078774-04:00", + "Version": "4.14.13" }, { "Info": "", @@ -1066,17 +1073,17 @@ }, { "Info": "", - "Name": "sed", - "Source": "main", - "Updated": "2023-11-24T04:59:25.5404312-04:00", - "Version": "4.9" + "Name": "ripme", + "Source": "extras", + "Updated": "2024-02-06T02:04:27.0760987-04:00", + "Version": "2.1.7" }, { "Info": "", - "Name": "shotcut", - "Source": "extras", - "Updated": "2024-02-03T18:08:13.5115482-04:00", - "Version": "24.01.28" + "Name": "rpcs3", + "Source": "games", + "Updated": "2024-02-15T03:11:36.251787-04:00", + "Version": "0.0.30-16110" }, { "Info": "", @@ -1085,6 +1092,13 @@ "Updated": "2024-02-06T05:32:45.8810304-04:00", "Version": "4.4" }, + { + "Info": "", + "Name": "r2modman", + "Source": "games", + "Updated": "2024-02-06T03:29:55.098339-04:00", + "Version": "3.1.46" + }, { "Info": "", "Name": "rustup", @@ -1092,13 +1106,6 @@ "Updated": "2023-11-03T21:07:33.0605748-03:00", "Version": "1.26.0" }, - { - "Info": "", - "Name": "ryujinx", - "Source": "games", - "Updated": "2024-02-13T17:30:55.3121819-04:00", - "Version": "1.1.1192" - }, { "Info": "", "Name": "sameboy", @@ -1143,17 +1150,38 @@ }, { "Info": "", - "Name": "ripme", - "Source": "extras", - "Updated": "2024-02-06T02:04:27.0760987-04:00", - "Version": "2.1.7" + "Name": "sed", + "Source": "main", + "Updated": "2023-11-24T04:59:25.5404312-04:00", + "Version": "4.9" }, { "Info": "", - "Name": "yt-dlp", + "Name": "shotcut", + "Source": "extras", + "Updated": "2024-02-03T18:08:13.5115482-04:00", + "Version": "24.01.28" + }, + { + "Info": "", + "Name": "krita", + "Source": "extras", + "Updated": "2024-02-03T17:21:19.6918518-04:00", + "Version": "5.2.2" + }, + { + "Info": "", + "Name": "ryujinx", + "Source": "games", + "Updated": "2024-02-13T17:30:55.3121819-04:00", + "Version": "1.1.1192" + }, + { + "Info": "", + "Name": "qtifw", "Source": "main", - "Updated": "2024-02-01T14:33:04.7307691-04:00", - "Version": "2023.12.30" + "Updated": "2024-02-03T17:13:28.9912075-04:00", + "Version": "4.6.1" }, { "Info": "", @@ -1164,31 +1192,10 @@ }, { "Info": "", - "Name": "wget", - "Source": "main", - "Updated": "2023-11-24T06:58:25.7603141-04:00", - "Version": "1.21.4" - }, - { - "Info": "", - "Name": "sqlitebrowser", - "Source": "extras", - "Updated": "2024-02-03T17:16:06.9020247-04:00", - "Version": "3.12.2" - }, - { - "Info": "", - "Name": "tcc", - "Source": "main", - "Updated": "2023-07-28T20:07:20.9156489-03:00", - "Version": "0.9.27" - }, - { - "Info": "", - "Name": "telegram", - "Source": "extras", - "Updated": "2024-02-06T05:14:26.078774-04:00", - "Version": "4.14.13" + "Name": "snes9x", + "Source": "games", + "Updated": "2024-02-06T05:06:03.1150744-04:00", + "Version": "1.62.3" }, { "Info": "", @@ -1211,6 +1218,13 @@ "Updated": "2024-02-03T16:48:35.8696146-04:00", "Version": "2.8.1" }, + { + "Info": "", + "Name": "usblogview", + "Source": "nirsoft", + "Updated": "2024-02-15T16:39:07.4667142-04:00", + "Version": "1.26" + }, { "Info": "", "Name": "vcpkg", @@ -1234,24 +1248,24 @@ }, { "Info": "", - "Name": "keyboardstateview", - "Source": "nirsoft", - "Updated": "2024-02-08T15:01:44.2873454-04:00", - "Version": "1.00" + "Name": "vscode", + "Source": "extras", + "Updated": "2024-02-09T00:32:24.3053746-04:00", + "Version": "1.86.1" }, { "Info": "", - "Name": "snes9x", - "Source": "games", - "Updated": "2024-02-06T05:06:03.1150744-04:00", - "Version": "1.62.3" + "Name": "tcc", + "Source": "main", + "Updated": "2023-07-28T20:07:20.9156489-03:00", + "Version": "0.9.27" }, { "Info": "", - "Name": "wiimms-iso-tools", - "Source": "wii-tools", - "Updated": "2024-02-10T22:35:06.9948978-04:00", - "Version": "3.05a.r8638" + "Name": "wget", + "Source": "main", + "Updated": "2023-11-24T06:58:25.7603141-04:00", + "Version": "1.21.4" }, { "Info": "", @@ -1311,10 +1325,31 @@ }, { "Info": "", - "Name": "vscode", + "Name": "yt-dlp", + "Source": "main", + "Updated": "2024-02-01T14:33:04.7307691-04:00", + "Version": "2023.12.30" + }, + { + "Info": "", + "Name": "wiimms-iso-tools", + "Source": "wii-tools", + "Updated": "2024-02-10T22:35:06.9948978-04:00", + "Version": "3.05a.r8638" + }, + { + "Info": "", + "Name": "sqlitebrowser", "Source": "extras", - "Updated": "2024-02-09T00:32:24.3053746-04:00", - "Version": "1.86.1" + "Updated": "2024-02-03T17:16:06.9020247-04:00", + "Version": "3.12.2" + }, + { + "Info": "", + "Name": "qbittorrent", + "Source": "extras", + "Updated": "2024-02-08T17:14:17.0475387-04:00", + "Version": "4.6.3" }, { "Info": "", @@ -1329,13 +1364,13 @@ "Manifests": 1978, "Name": "extras", "Source": "https://github.com/ScoopInstaller/Extras", - "Updated": "2024-02-15T00:26:20-04:00" + "Updated": "2024-02-15T16:23:34-04:00" }, { "Manifests": 297, "Name": "games", "Source": "https://github.com/Calinou/scoop-games", - "Updated": "2024-02-15T00:25:07-04:00" + "Updated": "2024-02-15T16:22:32-04:00" }, { "Manifests": 270, @@ -1347,7 +1382,7 @@ "Manifests": 1289, "Name": "main", "Source": "https://github.com/ScoopInstaller/Main", - "Updated": "2024-02-15T00:25:29-04:00" + "Updated": "2024-02-15T16:23:04-04:00" }, { "Manifests": 327, @@ -1365,13 +1400,13 @@ "Manifests": 127, "Name": "nonportable", "Source": "https://github.com/ScoopInstaller/Nonportable", - "Updated": "2024-02-14T16:28:30-04:00" + "Updated": "2024-02-15T16:28:41-04:00" }, { "Manifests": 436, "Name": "versions", "Source": "https://github.com/ScoopInstaller/Versions", - "Updated": "2024-02-15T00:31:37-04:00" + "Updated": "2024-02-15T16:26:49-04:00" }, { "Manifests": 68,