From b2d8b243255dc4e2ddc9d1c3875e4d6e3dcb184c Mon Sep 17 00:00:00 2001 From: Fabian Schmidt Date: Tue, 6 Jan 2026 14:28:42 +0100 Subject: [PATCH] Initial commit --- .gitignore | 2 ++ Microsoft.PowerShell_profile.ps1 | 18 ++++++++++++++++++ Modules/.gitkeep | 0 Readme.md | 3 +++ Scripts/.gitkeep | 0 5 files changed, 23 insertions(+) create mode 100644 .gitignore create mode 100644 Microsoft.PowerShell_profile.ps1 create mode 100644 Modules/.gitkeep create mode 100644 Readme.md create mode 100644 Scripts/.gitkeep diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6f93f31 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +Modules/* +!Modules/.gitkeep diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 new file mode 100644 index 0000000..851a3c7 --- /dev/null +++ b/Microsoft.PowerShell_profile.ps1 @@ -0,0 +1,18 @@ +# Setup starship prompt +Invoke-Expression (&starship init powershell) + +# Setup mise +mise activate pwsh | Out-String | Invoke-Expression + +# Setup Autosuggestion +Import-Module PSReadLine +Set-PSReadLineKeyHandler -Key Tab -Function MenuComplete +Set-PSReadLineOption -PredictionSource History + +# Setup Autocompletion for commands +# unsure if I like it +#Import-Module PSCompletions + + +# Aliases +Set-Alias -Name v -Value nvim diff --git a/Modules/.gitkeep b/Modules/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..819f346 --- /dev/null +++ b/Readme.md @@ -0,0 +1,3 @@ +# Powershell dotfiles + +This is part of my goal to make powershell more and more like fish diff --git a/Scripts/.gitkeep b/Scripts/.gitkeep new file mode 100644 index 0000000..e69de29