commit b2d8b243255dc4e2ddc9d1c3875e4d6e3dcb184c Author: Fabian Schmidt Date: Tue Jan 6 14:28:42 2026 +0100 Initial commit 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